ReactOS 0.4.16-dev-252-g9ccafe8
|
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
#include "config.h"
#include "adns.h"
#include "client.h"
Go to the source code of this file.
Classes | |
struct | logline |
Macros | |
#define | MAXMAXPENDING 64000 |
#define | DEFMAXPENDING 2000 |
#define | MAXLINE 1024 |
#define | OPT_DEBUG 1 |
#define | guard_null(str) ((str) ? (str) : "") |
#define | sensible_ctype(type, ch) (type((unsigned char)(ch))) |
Typedefs | |
typedef struct logline | logline |
Functions | |
static void | msg (const char *fmt,...) |
static void | aargh (const char *cause) |
static char * | ipaddr2domain (char *start, char **addr, char **rest) |
static void | printline (FILE *outf, char *start, char *addr, char *rest, char *domain) |
static logline * | readline (FILE *inf, adns_state adns, int opts) |
static void | proclog (FILE *inf, FILE *outf, int maxpending, int opts) |
static void | printhelp (FILE *file) |
static void | usage (void) |
int | main (int argc, char *argv[]) |
Variables | |
static const char *const | progname = "adnslogres" |
static const char * | config_text |
#define DEFMAXPENDING 2000 |
Definition at line 58 of file adnslogres.c.
#define MAXLINE 1024 |
Definition at line 61 of file adnslogres.c.
#define MAXMAXPENDING 64000 |
Definition at line 57 of file adnslogres.c.
#define OPT_DEBUG 1 |
Definition at line 64 of file adnslogres.c.
Definition at line 75 of file adnslogres.c.
Definition at line 88 of file adnslogres.c.
Referenced by main(), printline(), proclog(), and readline().
Definition at line 98 of file adnslogres.c.
Referenced by readline().
Definition at line 245 of file adnslogres.c.
Definition at line 78 of file adnslogres.c.
Definition at line 228 of file adnslogres.c.
Definition at line 131 of file adnslogres.c.
Referenced by proclog().
Definition at line 171 of file adnslogres.c.
Referenced by main().
|
static |
Definition at line 145 of file adnslogres.c.
Referenced by proclog(), and ReadLine().
Definition at line 71 of file adnslogres.c.