Defines | Typedefs | Functions

rpmio/stringbuf.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define appendStringBuf(sb, s)   appendStringBufAux(sb, s, 0)
#define appendLineStringBuf(sb, s)   appendStringBufAux(sb, s, 1)

Typedefs

typedef struct StringBufRecStringBuf

Functions

StringBuf newStringBuf (void)
StringBuf freeStringBuf (StringBuf sb)
void truncStringBuf (StringBuf sb)
char * getStringBuf (StringBuf sb)
void stripTrailingBlanksStringBuf (StringBuf sb)
void appendStringBufAux (StringBuf sb, const char *s, size_t nl)

Detailed Description

Definition in file stringbuf.h.


Define Documentation

#define appendLineStringBuf (   sb,
 
)    appendStringBufAux(sb, s, 1)
#define appendStringBuf (   sb,
 
)    appendStringBufAux(sb, s, 0)

Typedef Documentation

typedef struct StringBufRec* StringBuf

Definition at line 10 of file stringbuf.h.


Function Documentation

void appendStringBufAux ( StringBuf  sb,
const char *  s,
size_t  nl 
)
StringBuf freeStringBuf ( StringBuf  sb )
char* getStringBuf ( StringBuf  sb )
StringBuf newStringBuf ( void   )
void stripTrailingBlanksStringBuf ( StringBuf  sb )
void truncStringBuf ( StringBuf  sb )