comparison src/protocols/sametime/meanwhile/mw_util.h @ 12166:d6417efb990c

[gaim-migrate @ 14467] g_str_has_prefix is only available in glib >= 2.2.0. we already have a wrapper for this in gaim, but I guess it's not legitimate to use that in meanwhile, so I duplicated the wrapper there too. code reuse at it's worst. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 19 Nov 2005 18:09:51 +0000
parents 3ef77720e577
children a2ebf585d8c6
comparison
equal deleted inserted replaced
12165:f8e22fef03fc 12166:d6417efb990c
19 */ 19 */
20 20
21 #ifndef _MW_UTIL_H 21 #ifndef _MW_UTIL_H
22 #define _MW_UTIL_H 22 #define _MW_UTIL_H
23 23
24 24 #include <string.h>
25 #include <glib.h> 25 #include <glib.h>
26 #include <glib/ghash.h> 26 #include <glib/ghash.h>
27 #include <glib/glist.h> 27 #include <glib/glist.h>
28 28
29 29
79 void mw_datum_clear(struct mw_datum *d); 79 void mw_datum_clear(struct mw_datum *d);
80 80
81 81
82 void mw_datum_free(struct mw_datum *d); 82 void mw_datum_free(struct mw_datum *d);
83 83
84 gboolean mw_str_has_prefix(const char *s, const char *p);
84 85
85 #endif 86 #endif