GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V0-0-2

Constituent: lrd_parser     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

lString_p.h File Reference

Linked list of strings. More...

#include "PBS/L.ih"
#include <stdarg.h>
#include <stddef.h>

Include dependency graph for lString_p.h:

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


Data Structures

struct  lString
 Node for a (singly) linked list of strings. More...

Functions

lStringnewlString (const char *fmt,...)
 Uses mlloc to create a lString with nchar characters.
char * newString (const char *fmt,...)
 Uses malloc to create a string from fmt and the subsequent arguments.
size_t getStrLen (const char *fmt, va_list ap)
 Reads the format string and calculates the total size of the string after completing the insertions.
void copyStr (char *dest, const char *fmt, va_list ap)
 Read the format string and fill dest accordingly.
lStringappendString (lString *os, const char *fmt,...)
 Combines an existing lString and additional elements into a new string.

Detailed Description

Linked list of strings.

Author:
James Swain -- jswain@slac.stanford.edu

Function Documentation

lString * appendString lString os,
const char *  fmt,
  ...
 

Combines an existing lString and additional elements into a new string.

Parameters:
os Old string to append to
fmt Format of the additional string
Returns:
A new string which is the concaternation of the old string and the additional elements

void copyStr char *  dest,
const char *  fmt,
va_list  ap
 

Read the format string and fill dest accordingly.

Parameters:
dest Destination string
fmt Format string
ap Variable length list of arguments

size_t getStrLen const char *  fmt,
va_list  ap
 

Reads the format string and calculates the total size of the string after completing the insertions.

Parameters:
fmt Format string
ap Variable length list of arguments
Returns:
Size of the complete string

lString * newlString const char *  fmt,
  ...
 

Uses mlloc to create a lString with nchar characters.

Parameters:
fmt Format of the string to create
Returns:
Ptr to initialised lString

char * newString const char *  fmt,
  ...
 

Uses malloc to create a string from fmt and the subsequent arguments.

Parameters:
fmt Format of the string to create
Returns:
Ptr to initialised string


Generated on Thu Apr 13 23:38:42 2006 by  doxygen 1.4.4