Jabber WindowGram Client (JWGC)

Introduction Screenshots Installation Downloads
Documentation Browse Source Resources Project Site

Stable Version
-none-

Latest Version
beta5



Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

string_dictionary_aux.h

Go to the documentation of this file.
00001 #ifndef string_dictionary_aux_MODULE
00002 #define string_dictionary_aux_MODULE
00003 
00004 /*
00005  *      Copyright (c) 1989 by the Massachusetts Institute of Technology.
00006  *      For copying and distribution information, see the file
00007  *      "mit-copyright.h".
00008  *
00009  *      Modified for jwgc by Daniel Henninger.
00010  */
00011 
00012 #include "mit-copyright.h"
00013 
00014 #include "string_dictionary.h"
00015 
00016 /*
00017  *    void string_dictionary_Set(string_dictionary d, string key,string value):
00018  *        Modifies: d
00019  *        Effects: Binds key to value in d.  Automatically free's the
00020  *                 previous value of key, if any.  Value is copied on the
00021  *                 heap.
00022  */
00023 
00024 extern void string__dictionary_Set();
00025 #define string_dictionary_Set(a,b,c)         string__dictionary_Set(a,b,c)
00026 
00027 /*
00028  *    char *string_dictionary_Fetch(string_dictionary d, string key)
00029  *        Effects: If key is not bound in d, returns 0.  Otherwise,
00030  *                 returns the value that key is bound to.  
00031  *                 Note that the returned string if any should not be
00032  *                 freed or modified in any way.  Note also that it may
00033  *                 disappear later if key is rebound.
00034  */
00035 
00036 extern char *string_dictionary_Fetch();
00037 
00038 /*
00039  *    void string_dictionary_SafeDestroy(string_dictionary d)
00040  *        Modifies: d
00041  *        Effects: Like string_dictionary_Destroy except first frees
00042  *                 all value's in the dictionary.
00043  */
00044 
00045 extern void string_dictionary_SafeDestroy();
00046 
00047 #endif


Last updated at Tue Dec 18 21:07:42 PST 2007. This site and project hosted by...SourceForge.net Logo
Source Perspective by Fisheye