libpcap  1.10.1
About: libpcap is a packet filter library used by tools like tcpdump.
  Fossies Dox: libpcap-1.10.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

fileconf.c File Reference
#include "ftmacros.h"
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <pcap.h>
#include "portability.h"
#include "rpcapd.h"
#include "config_params.h"
#include "fileconf.h"
#include "rpcap-protocol.h"
#include "log.h"
Include dependency graph for fileconf.c:

Go to the source code of this file.

Macros

#define PARAM_ACTIVECLIENT   "ActiveClient"
 
#define PARAM_PASSIVECLIENT   "PassiveClient"
 
#define PARAM_NULLAUTHPERMIT   "NullAuthPermit"
 
#define FILECONF_ISALPHA(c)    (((c) >= 'A' && (c) <= 'Z') || ((c) >= 'a' && (c) <= 'z'))
 
#define FILECONF_ISALNUM(c)    (FILECONF_ISALPHA(c) || ((c) >= '0' && (c) <= '9'))
 

Functions

static char * skipws (char *ptr)
 
void fileconf_read (void)
 
int fileconf_save (const char *savefile)
 

Macro Definition Documentation

◆ FILECONF_ISALNUM

#define FILECONF_ISALNUM (   c)     (FILECONF_ISALPHA(c) || ((c) >= '0' && (c) <= '9'))

Definition at line 68 of file fileconf.c.

◆ FILECONF_ISALPHA

#define FILECONF_ISALPHA (   c)     (((c) >= 'A' && (c) <= 'Z') || ((c) >= 'a' && (c) <= 'z'))

Definition at line 66 of file fileconf.c.

◆ PARAM_ACTIVECLIENT

#define PARAM_ACTIVECLIENT   "ActiveClient"

Definition at line 55 of file fileconf.c.

◆ PARAM_NULLAUTHPERMIT

#define PARAM_NULLAUTHPERMIT   "NullAuthPermit"

Definition at line 57 of file fileconf.c.

◆ PARAM_PASSIVECLIENT

#define PARAM_PASSIVECLIENT   "PassiveClient"

Definition at line 56 of file fileconf.c.

Function Documentation

◆ fileconf_read()

◆ fileconf_save()

int fileconf_save ( const char *  savefile)

◆ skipws()

static char * skipws ( char *  ptr)
static

Definition at line 557 of file fileconf.c.

Referenced by fileconf_read().