/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2016 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <popt.h>
#include <stdio.h>
#include "tools/common/sss_tools.h"
#include "tools/common/sss_process.h"
#include "tools/tools_util.h"
struct sssctl_logs_opts {
int delete;
int archived;
};
struct sss_tool_ctx *tool_ctx,
void *pvt)
{
/* Parse command line. */
{"delete", 'd', POPT_ARG_NONE, &opts.delete, 0, _("Delete log files instead of truncating"), NULL },
};
return ret;
}
printf(_("Deleting log files...\n"));
return ret;
}
} else {
printf(_("Truncating log files...\n"));
return ret;
}
}
return EOK;
}
struct sss_tool_ctx *tool_ctx,
void *pvt)
{
const char *file;
const char *cmd;
/* Parse command line. */
return ret;
}
}
return ret;
}
return EOK;
}