Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

eval.h File Reference


Detailed Description

String evaluation.

Author:
Raphael Manfredi
Date:
2003

#include "common.h"

Go to the source code of this file.

Functions

void eval_init (void)
 Initialize string evaluation.
void eval_close (void)
 Cleanup local structures at shutdown time.
const gchar * eval_subst (const gchar *str)
 Needs brief description here.


Function Documentation

void eval_close void   ) 
 

Cleanup local structures at shutdown time.

void eval_init void   ) 
 

Initialize string evaluation.

const gchar* eval_subst const gchar *  str  ) 
 

Needs brief description here.

Substitutes variables from string:

  • The leading "~" is replaced by the home directory.
  • Variables like "$PATH" or "${PATH}" are replaced by their value, as fetched from the environment, or the empty string if not found.

If given a NULL input, we return NULL.

Returns:
string atom, which is not meant to be freed until exit time.


Generated on Sat Jun 30 17:53:26 2007 for gtk-gnutella by  doxygen 1.3.9.1