Eneboo - Documentación para desarrolladores
Clases | 'defines' | Funciones | Variables
Referencia del Archivo src/posprinter/lpr/common_source/lp.h
#include <dirent.h>
#include <sys/param.h>
#include <signal.h>
#include <grp.h>
#include <sys/cdefs.h>

Ir al código fuente de este archivo.

Clases

struct  queue

'defines'

#define PRIV_START
#define PRIV_END

Funciones

void blankfill (int)
char * checkremote (void)
int chk (char *)
void displayq (int)
void dump (char *, char *, int)
void fatal (const char *,...) __attribute__((__format__(__printf__
void int getcfline (FILE *)
int getport (char *, int)
int getq (struct queue ***)
void header (void)
int inlist (char *, char *)
int iscf (const struct dirent *)
int isowner (char *, char *)
void ldump (char *, char *, int)
void prank (int)
void process (char *)
void rmjob (void)
void rmremote (void)
void show (char *, char *, int)
int startdaemon (char *)
void nodaemon (void)
void delay (int)
int safe_open (const char *, int, mode_t)
char * cgetcap (char *, const char *, int)
int cgetent (char **, char **, const char *)
int cgetmatch (char *, const char *)
int cgetnext (char **, char **)
int cgetstr (char *, const char *, char **)
int cgetunum (char *, const char *, long *)
int cgetnum (char *, const char *, long *)
size_t strlcpy (char *dst, const char *src, size_t siz)
size_t strlcat (char *dst, const char *src, size_t siz)
int cgetclose ()
int lprGetUID (void)

Variables

char * AF
long BR
char * CF
char * DF
long DU
long FC
char * FF
long FS
char * GF
long HL
char * IF
char * LF
char * LO
char * LP
long MC
char * MS
long MX
char * NF
char * OF
long PL
long PW
long PX
long PY
char * RF
char * RG
char * RM
char * RP
long RS
long RW
long SB
long SC
char * SD
long SF
long SH
char * ST
char * TF
char * TR
char * VF
long XC
long XS
char line [BUFSIZ]
char * bp
char * printer
char host [MAXHOSTNAMELEN]
char * from
int remote
char * printcapdb []
u_int wait_time
uid_t real_uid
uid_t effective_uid
gid_t real_gid
gid_t effective_gid
volatile sig_atomic_t gotintr

Documentación de los 'defines'

#define PRIV_END
Valor:
do {                            \
        int save_errno = errno;                 \
        (void)setegid(real_gid);                \
        (void)seteuid(real_uid);                \
        errno = save_errno;                     \
} while (0)
#define PRIV_START
Valor:
do {                            \
        int save_errno = errno;                 \
        (void)seteuid(effective_uid);           \
        (void)setegid(effective_gid);           \
        errno = save_errno;                     \
} while (0)

Documentación de las funciones

void blankfill ( int  )
char* cgetcap ( char *  ,
const char *  ,
int   
)
int cgetclose ( )
int cgetent ( char **  ,
char **  ,
const char *   
)
int cgetmatch ( char *  ,
const char *   
)
int cgetnext ( char **  ,
char **   
)
int cgetnum ( char *  ,
const char *  ,
long *   
)
int cgetstr ( char *  ,
const char *  ,
char **   
)
int cgetunum ( char *  ,
const char *  ,
long *   
)
char* checkremote ( void  )
int chk ( char *  )
void delay ( int  )
void displayq ( int  )
void dump ( char *  ,
char *  ,
int   
)
void fatal ( const char *  ,
  ... 
)
void int getcfline ( FILE *  )
int getport ( char *  ,
int   
)
int getq ( struct queue ***  )
void header ( void  )
int inlist ( char *  ,
char *   
)
int iscf ( const struct dirent *  )
int isowner ( char *  ,
char *   
)
void ldump ( char *  ,
char *  ,
int   
)
int lprGetUID ( void  )
void nodaemon ( void  )
void prank ( int  )
void process ( char *  )
void rmjob ( void  )
void rmremote ( void  )
int safe_open ( const char *  ,
int  ,
mode_t   
)
void show ( char *  ,
char *  ,
int   
)
int startdaemon ( char *  )
size_t strlcat ( char *  dst,
const char *  src,
size_t  siz 
)
size_t strlcpy ( char *  dst,
const char *  src,
size_t  siz 
)

Documentación de las variables

char* AF
char* bp
long BR
char* CF
char* DF
long DU
long FC
char* FF
char* from
long FS
char* GF
volatile sig_atomic_t gotintr
long HL
char host[MAXHOSTNAMELEN]
char* IF
char* LF
char line[BUFSIZ]
char* LO
char* LP
long MC
char* MS
long MX
char* NF
char* OF
long PL
char* printcapdb[]
char* printer
long PW
long PX
long PY
char* RF
char* RG
char* RM
char* RP
long RS
long RW
long SB
long SC
char* SD
long SF
long SH
char* ST
char* TF
char* TR
char* VF
u_int wait_time
long XC
long XS
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'