rpmio/stringbuf.c File Reference

#include "system.h"
#include <rpmio.h>
#include "stringbuf.h"
#include "debug.h"
Include dependency graph for stringbuf.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  StringBufRec

Defines

#define BUF_CHUNK   1024

Functions

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

Detailed Description

Definition in file stringbuf.c.


Define Documentation

#define BUF_CHUNK   1024

Definition at line 11 of file stringbuf.c.

Referenced by appendStringBufAux(), and newStringBuf().


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  ) 
Generated on Fri Feb 26 01:54:13 2010 for rpm by  doxygen 1.6.3