Annotation of 43BSD/contrib/spms/include/pdbuf.h, revision 1.1

1.1     ! root        1: /* $Header$ */
        !             2: 
        !             3: /*
        !             4:  * Project database buffer definitions
        !             5:  *
        !             6:  * Author: Peter J. Nicklin
        !             7:  */
        !             8: 
        !             9: /*
        !            10:  * Field Definitions
        !            11:  */
        !            12: #define _PBKS          '|'             /* key field separator character */
        !            13: #define _PBFS          ':'             /* non-key field separator character */
        !            14: /*
        !            15:  * Functions defined for project database buffers
        !            16:  */
        !            17: extern void pbclear();                 /* clear buffer */
        !            18: extern void pbshrink();                        /* shrink buffer */
        !            19: extern int pbstretch();                        /* stretch buffer */
        !            20: extern int pbaddkey();                 /* add key */
        !            21: extern int pbchgkey();                 /* change existing key */
        !            22: extern int pbcmpkey();                 /* compare keys */
        !            23: extern char *pbcpykey();               /* copy key */
        !            24: extern char *pbfndkey();               /* find key */
        !            25: extern char *pbgetkey();               /* get next key */
        !            26: extern int pblenkey();                 /* length of key */
        !            27: extern void pbrmkey();                 /* remove key */
        !            28: extern char *pbskipkey();              /* skip to next key */
        !            29: extern int pbaddfield();               /* add non-key field */
        !            30: extern int pbchgfield();               /* change existing non-key field */
        !            31: extern int pbcmpfield();               /* compare non-key fields */
        !            32: extern char *pbcpyfield();             /* copy non-key field */
        !            33: extern char *pbfndfield();             /* find non-key field */
        !            34: extern char *pbgetfield();             /* get next non-key field */
        !            35: extern int pblenfield();               /* length of non-key field */
        !            36: extern void pbrmfield();               /* remove non-key field */
        !            37: extern char *pbskipfield();            /* skip to next non-key field */
        !            38: extern int pbaddflag();                        /* add flag field */
        !            39: extern void pbchgflag();               /* change existing flag field */
        !            40: extern int pbfndflag();                        /* find flag field */
        !            41: extern void pbrmflag();                        /* remove flag field */
        !            42: extern int pbaddstring();              /* add string field */
        !            43: extern int pbchgstring();              /* change existing string field */
        !            44: extern char *pbfndstring();            /* find string field */
        !            45: extern char *pbgetstring();            /* get specified string field */
        !            46: extern void pbrmstring();              /* remove string field */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.