rpmio/stringbuf.c File Reference

#include "system.h"
#include <rpmio.h>
#include "stringbuf.h"
#include "debug.h"

Include dependency graph for stringbuf.c:

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 Tue Apr 21 04:27:24 2009 for rpm by  doxygen 1.5.8