stringref.h

Go to the documentation of this file.
00001 
00026 #ifndef _GAIM_STRINGREF_H_
00027 #define _GAIM_STRINGREF_H_
00028 
00036 typedef struct _GaimStringref {
00037     guint32 ref;    
00044     char value[1];  
00048 } GaimStringref;
00049 
00060 GaimStringref *gaim_stringref_new(const char *value);
00061 
00074 GaimStringref *gaim_stringref_new_noref(const char *value);
00075 
00086 GaimStringref *gaim_stringref_printf(const char *format, ...);
00087 
00095 GaimStringref *gaim_stringref_ref(GaimStringref *stringref);
00096 
00104 void gaim_stringref_unref(GaimStringref *stringref);
00105 
00122 const char *gaim_stringref_value(const GaimStringref *stringref);
00123 
00135 int gaim_stringref_cmp(const GaimStringref *s1, const GaimStringref *s2);
00136 
00144 size_t gaim_stringref_len(const GaimStringref *stringref);
00145 
00146 #endif /* _GAIM_STRINGREF_H_ */

Generated on Sun Feb 18 07:50:48 2007 for gaim by  doxygen 1.5.1