Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/main.c @ 1600:c5ee395fbc8c
Updated Entity Capabilities support (XEP-0115)
author | franky |
---|---|
date | Tue, 23 Sep 2008 10:59:25 +0200 |
parents | dcd5d4c75199 |
children | 14690e624e9d |
comparison
equal
deleted
inserted
replaced
1599:dcd5d4c75199 | 1600:c5ee395fbc8c |
---|---|
29 #include <sys/types.h> | 29 #include <sys/types.h> |
30 #include <sys/wait.h> | 30 #include <sys/wait.h> |
31 #include <glib.h> | 31 #include <glib.h> |
32 #include <config.h> | 32 #include <config.h> |
33 | 33 |
34 #include "caps.h" | |
34 #include "screen.h" | 35 #include "screen.h" |
35 #include "settings.h" | 36 #include "settings.h" |
36 #include "roster.h" | 37 #include "roster.h" |
37 #include "commands.h" | 38 #include "commands.h" |
38 #include "histolog.h" | 39 #include "histolog.h" |
316 /* Initialize command system, roster and default key bindings */ | 317 /* Initialize command system, roster and default key bindings */ |
317 cmd_init(); | 318 cmd_init(); |
318 roster_init(); | 319 roster_init(); |
319 settings_init(); | 320 settings_init(); |
320 scr_init_bindings(); | 321 scr_init_bindings(); |
322 caps_init(); | |
321 /* Initialize charset */ | 323 /* Initialize charset */ |
322 scr_InitLocaleCharSet(); | 324 scr_InitLocaleCharSet(); |
323 | 325 |
324 /* Parsing config file... */ | 326 /* Parsing config file... */ |
325 ret = cfg_read_file(configFile, TRUE); | 327 ret = cfg_read_file(configFile, TRUE); |
427 if (settings_opt_get_int("spell_enable")) | 429 if (settings_opt_get_int("spell_enable")) |
428 spellcheck_deinit(); | 430 spellcheck_deinit(); |
429 #endif | 431 #endif |
430 /* Save pending message state */ | 432 /* Save pending message state */ |
431 hlog_save_state(); | 433 hlog_save_state(); |
434 caps_free(); | |
432 | 435 |
433 printf("\n\nThanks for using mcabber!\n"); | 436 printf("\n\nThanks for using mcabber!\n"); |
434 | 437 |
435 return 0; | 438 return 0; |
436 } | 439 } |