The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

rpmlog.c (3)
  • >> rpmlog.c (3) ( Linux man: Библиотечные вызовы )
  •  

    NAME

    rpmio/rpmlog.c -  
     
    

    SYNOPSIS


    #include 'system.h'
    #include <stdarg.h>
    #include 'rpmlog.h'
    #include 'debug.h'
     

    Defines


    #define va_copy(DEST, SRC) ((DEST) = (SRC))
     

    Functions


    void * _free (const void *p)
    Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.
    int rpmlogGetNrecs (void)

    int rpmlogCode (void)

    const char * rpmlogMessage (void)

    void rpmlogPrint (FILE *f)

    void rpmlogClose (void)

    void rpmlogOpen (const char *ident, int option, int facility)

    int rpmlogSetMask (int mask)

    rpmlogCallback rpmlogSetCallback (rpmlogCallback cb)

    int vsnprintf (char *buf, int nb, const char *fmt, va_list ap)

    void vrpmlog (unsigned code, const char *fmt, va_list ap)

    void rpmlog (int code, const char *fmt,...)

    int rpmErrorCode (void)

    const char * rpmErrorString (void)

    rpmlogCallback rpmErrorSetCallback (rpmlogCallback cb)
     

    Variables


    int nrecs = 0

    rpmlogRec recs = NULL

    unsigned rpmlogMask = ((1 << (((unsigned)( RPMLOG_NOTICE ))+1)) - 1)

    unsigned rpmlogFacility = RPMLOG_USER

    rpmlogCallback _rpmlogCallback = NULL

    char * rpmlogMsgPrefix []
     

    DETAILED DESCRIPTION

    Definition in file rpmlog.c.  

    DEFINE DOCUMENTATION

     

    #define va_copy(DEST, SRC) ((DEST) = (SRC))

    Definition at line 17 of file rpmlog.c.

    Referenced by vrpmlog().  

    FUNCTION DOCUMENTATION

     

    void* _free (const void * p) [inline, static]

    Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.

    Parameters:

    p
    memory to free

    Return values:

    NULL
    always

    Definition at line 35 of file rpmlog.c.  

    int rpmErrorCode (void)

    Definition at line 248 of file rpmlog.c.

    References rpmlogCode().  

    rpmlogCallback rpmErrorSetCallback (rpmlogCallback cb)

    Definition at line 258 of file rpmlog.c.

    References rpmlogSetCallback().  

    const char* rpmErrorString (void)

    Definition at line 253 of file rpmlog.c.

    References rpmlogMessage().  

    void rpmlog (int code, const char * fmt, ...)

    Definition at line 237 of file rpmlog.c.

    References vrpmlog().

    Referenced by getGidS(), getGname(), getGnameS(), getUidS(), getUname(), and getUnameS().  

    void rpmlogClose (void)

    Definition at line 78 of file rpmlog.c.

    References _free(), nrecs, and recs.

    Referenced by main().  

    int rpmlogCode (void)

    Definition at line 46 of file rpmlog.c.

    References nrecs, and recs.

    Referenced by rpmErrorCode().  

    int rpmlogGetNrecs (void)

    Definition at line 41 of file rpmlog.c.

    References nrecs.

    Referenced by buildSpec().  

    const char* rpmlogMessage (void)

    Definition at line 54 of file rpmlog.c.

    References _, nrecs, and recs.

    Referenced by rpmErrorString().  

    void rpmlogOpen (const char * ident, int option, int facility)

    Definition at line 93 of file rpmlog.c.  

    void rpmlogPrint (FILE * f)

    Definition at line 62 of file rpmlog.c.

    References nrecs, and recs.

    Referenced by buildSpec().  

    rpmlogCallback rpmlogSetCallback (rpmlogCallback cb)

    Definition at line 117 of file rpmlog.c.

    References _rpmlogCallback.

    Referenced by rpmErrorSetCallback().  

    int rpmlogSetMask (int mask)

    Definition at line 104 of file rpmlog.c.

    References rpmlogMask.  

    void vrpmlog (unsigned code, const char * fmt, va_list ap) [static]

    Definition at line 151 of file rpmlog.c.

    References _, _free(), _rpmlogCallback, EXIT_FAILURE, nrecs, recs, rpmlogMask, rpmlogMsgPrefix, va_copy, vsnprintf(), xmalloc(), and xrealloc().

    Referenced by rpmlog().  

    int vsnprintf (char * buf, int nb, const char * fmt, va_list ap) [inline, static]

    Definition at line 141 of file rpmlog.c.

    Referenced by snprintf(), and vrpmlog().  

    VARIABLE DOCUMENTATION

     

    rpmlogCallback _rpmlogCallback = NULL [static]

    Definition at line 115 of file rpmlog.c.

    Referenced by rpmlogSetCallback(), and vrpmlog().  

    int nrecs = 0 [static]

    Definition at line 25 of file rpmlog.c.

    Referenced by rpmlogClose(), rpmlogCode(), rpmlogGetNrecs(), rpmlogMessage(), rpmlogPrint(), and vrpmlog().  

    rpmlogRec recs = NULL [static]

    Definition at line 27 of file rpmlog.c.

    Referenced by rpmlogClose(), rpmlogCode(), rpmlogMessage(), rpmlogPrint(), and vrpmlog().  

    unsigned rpmlogFacility = RPMLOG_USER [static]

    Definition at line 102 of file rpmlog.c.  

    unsigned rpmlogMask = ((1 << (((unsigned)( RPMLOG_NOTICE ))+1)) - 1) [static]

    Definition at line 99 of file rpmlog.c.

    Referenced by rpmlogSetMask(), and vrpmlog().  

    char* rpmlogMsgPrefix[] [static]

    Initial value:

     {
         'fatal error: ' ,
         'fatal error: ' ,
         'fatal error: ' ,
         'error: ' ,        
         'warning: ' ,      
        '',                 
        '',                 
        'D: ',              
    }
    

    Definition at line 128 of file rpmlog.c.

    Referenced by vrpmlog().  

    AUTHOR

    Generated automatically by Doxygen for rpm from the source code.


     

    Index

    NAME
    SYNOPSIS
    Defines
    Functions
    Variables
    DETAILED DESCRIPTION
    DEFINE DOCUMENTATION
    #define va_copy(DEST, SRC) ((DEST) = (SRC))
    FUNCTION DOCUMENTATION
    void* _free (const void * p) [inline, static]
    int rpmErrorCode (void)
    rpmlogCallback rpmErrorSetCallback (rpmlogCallback cb)
    const char* rpmErrorString (void)
    void rpmlog (int code, const char * fmt, ...)
    void rpmlogClose (void)
    int rpmlogCode (void)
    int rpmlogGetNrecs (void)
    const char* rpmlogMessage (void)
    void rpmlogOpen (const char * ident, int option, int facility)
    void rpmlogPrint (FILE * f)
    rpmlogCallback rpmlogSetCallback (rpmlogCallback cb)
    int rpmlogSetMask (int mask)
    void vrpmlog (unsigned code, const char * fmt, va_list ap) [static]
    int vsnprintf (char * buf, int nb, const char * fmt, va_list ap) [inline, static]
    VARIABLE DOCUMENTATION
    rpmlogCallback _rpmlogCallback = NULL [static]
    int nrecs = 0 [static]
    rpmlogRec recs = NULL [static]
    unsigned rpmlogFacility = RPMLOG_USER [static]
    unsigned rpmlogMask = ((1 << (((unsigned)( RPMLOG_NOTICE ))+1)) - 1) [static]
    char* rpmlogMsgPrefix[] [static]
    AUTHOR


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру