Mercurial > pidgin.yaz
comparison src/protocols/simple/sipmsg.h @ 14069:d594f0466585
[gaim-migrate @ 16690]
Fix CID 221
I also fixed an imperial ton of leaks. It was quite amazing, actually.
There is also some other cleanup stuff in here too.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 10 Aug 2006 23:42:17 +0000 |
parents | 4669e7461968 |
children |
comparison
equal
deleted
inserted
replaced
14068:6cb8bdc3366f | 14069:d594f0466585 |
---|---|
37 struct siphdrelement { | 37 struct siphdrelement { |
38 gchar *name; | 38 gchar *name; |
39 gchar *value; | 39 gchar *value; |
40 }; | 40 }; |
41 | 41 |
42 struct sipmsg *sipmsg_parse_msg(gchar *msg); | 42 struct sipmsg *sipmsg_parse_msg(const gchar *msg); |
43 struct sipmsg *sipmsg_parse_header(gchar *header); | 43 struct sipmsg *sipmsg_parse_header(const gchar *header); |
44 void sipmsg_add_header(struct sipmsg *msg, gchar *name, gchar *value); | 44 void sipmsg_add_header(struct sipmsg *msg, const gchar *name, const gchar *value); |
45 void sipmsg_free(struct sipmsg *msg); | 45 void sipmsg_free(struct sipmsg *msg); |
46 gchar *sipmsg_find_header(struct sipmsg *msg, gchar *name); | 46 gchar *sipmsg_find_header(struct sipmsg *msg, const gchar *name); |
47 void sipmsg_remove_header(struct sipmsg *msg, gchar *name); | 47 void sipmsg_remove_header(struct sipmsg *msg, const gchar *name); |
48 void sipmsg_print(struct sipmsg *msg); | 48 void sipmsg_print(const struct sipmsg *msg); |
49 char *sipmsg_to_string(struct sipmsg *msg); | 49 char *sipmsg_to_string(const struct sipmsg *msg); |
50 #endif /* _GAIM_SIMPLE_H */ | 50 #endif /* _GAIM_SIMPLE_H */ |