leafnode  1.12.0
About: Leafnode is a store & forward NNTP proxy for small (dialup) sites.
  Fossies Dox: leafnode-1.12.0.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

xoverutil.c File Reference
#include "leafnode.h"
#include <fcntl.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include <netdb.h>
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <syslog.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "system.h"
#include "strlcpy.h"
#include "ln_log.h"
Include dependency graph for xoverutil.c:

Go to the source code of this file.

Functions

static void tabstospaces (char *t)
 
static char * getxoverline (const char *filename, const char **e)
 
int legalxoverline (const char *xover, const char **e)
 
static void killcwd (void)
 
void freexover (void)
 
int getxover (void)
 
void fixxover (void)
 

Function Documentation

◆ fixxover()

void fixxover ( void  )

◆ freexover()

void freexover ( void  )

Definition at line 396 of file xoverutil.c.

References xoverinfo::text, xfirst, and xlast.

Referenced by dogroup(), fixxover(), getxover(), and main().

◆ getxover()

◆ getxoverline()

static char * getxoverline ( const char *  filename,
const char **  e 
)
static
Parameters
eerror message is stored here

Definition at line 57 of file xoverutil.c.

References critmalloc(), critrealloc(), critstrdup(), debug, debugmode, getaline(), legalxoverline(), ln_log(), LNLOG_CARTICLE, LNLOG_SERR, SKIPLWS, and tabstospaces().

Referenced by getxover().

◆ killcwd()

static void killcwd ( void  )
static

Definition at line 381 of file xoverutil.c.

References agetcwd(), ln_log(), LNLOG_CTOP, LNLOG_SERR, and spooldir.

Referenced by getxover().

◆ legalxoverline()

int legalxoverline ( const char *  xover,
const char **  e 
)

Definition at line 206 of file xoverutil.c.

Referenced by dogroup(), getxover(), and getxoverline().

◆ tabstospaces()

static void tabstospaces ( char *  t)
static

Definition at line 46 of file xoverutil.c.

Referenced by getxoverline().