#include "xdasd_cmdline.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | SVNREV "0" |
#define | XDASD_VERSION PACKAGE_VERSION "." SVNREV |
#define | XDASD_CFGPATH ETCDIR |
#define | XDASD_FLTPATH ETCDIR |
#define | XDASD_LOGPATH LSTDIR "/log" |
#define | XDASD_MCFPATH LSTDIR "/log" |
#define | XDASD_RUNPATH LSTDIR "/run/xdasd" |
#define | XDASD_CFGFNAME "xdasd.conf" |
#define | XDASD_FLTFNAME "xdasd.filter" |
#define | XDASD_LOGFNAME "xdasd.log" |
#define | XDASD_MDIRNAME "xdasd.mcache" |
#define | XDASD_DEF_CFGFILE XDASD_CFGPATH "/" XDASD_CFGFNAME |
#define | XDASD_DEF_FLTFILE XDASD_FLTPATH "/" XDASD_FLTFNAME |
#define | XDASD_DEF_LOGFILE XDASD_LOGPATH "/" XDASD_LOGFNAME |
#define | XDASD_DEF_MSGFDIR XDASD_MCFPATH "/" XDASD_MDIRNAME |
#define | XDASD_DEF_RUNPATH XDASD_RUNPATH |
#define | strnenv(d, s, n) ((strncpy((d),(s),(n)-1)[(n)-1] = 0),(d)) |
#define | XDASD_USAGE_STRING |
Functions | |
static void | xdasd_print_usage (void) |
Displays available command line options of SLPD. | |
int | xdasd_parse_cmdline (int argc, char **argv, XDASDCmdLine *cmdline) |
Parse argc/argv from main into an internal structure. |
Definition in file xdasd_cmdline.c.
#define SVNREV "0" |
Definition at line 54 of file xdasd_cmdline.c.