Changeset 5a8afc3 for protocols/nogaim.c
- Timestamp:
- 2016-11-21T06:58:47Z (8 years ago)
- Branches:
- master
- Children:
- 3f44e43, f8c9347
- Parents:
- 11d4123
- git-author:
- dequis <dx@…> (21-11-16 06:40:54)
- git-committer:
- dequis <dx@…> (21-11-16 06:58:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r11d4123 r5a8afc3 160 160 GList *protocols = NULL; 161 161 GList *disabled_protocols = NULL; 162 static struct prpl *unknown_prpl;163 162 164 163 void register_protocol(struct prpl *p) … … 190 189 GList *gl = g_list_find_custom(protocols, name, proto_name_cmp); 191 190 return gl ? gl->data: NULL; 192 }193 194 struct prpl *make_unknown_protocol(const char *name)195 {196 struct prpl *ret = g_memdup(unknown_prpl, sizeof(struct prpl));197 ret->name = g_strdup(name);198 register_protocol(ret);199 return ret;200 191 } 201 192 … … 250 241 extern void twitter_initmodule(); 251 242 extern void purple_initmodule(); 252 extern void unknown_prpl_initmodule();253 254 unknown_prpl_initmodule(&unknown_prpl);255 243 256 244 #ifdef WITH_MSN
Note: See TracChangeset
for help on using the changeset viewer.