1 --- cipher.c 2005-12-24 19:32:50.000000000 +0000
2 +++ ../../../cipher.c 2010-10-26 16:30:51.234362617 +0100
6 Meanwhile - Unofficial Lotus Sametime Community Client Library
7 Copyright (C) 2004 Christopher (siege) O'Brien
9 static void accepted_RC2_128(struct mwCipherInstance *ci,
10 struct mwEncryptItem *item) {
12 - return offered_RC2_128(ci, item);
13 + offered_RC2_128(ci, item);
22 --- common.c 2005-12-08 19:48:36.000000000 +0000
23 +++ ../../../common.c 2010-10-26 16:32:48.220662572 +0100
27 Meanwhile - Unofficial Lotus Sametime Community Client Library
28 Copyright (C) 2004 Christopher (siege) O'Brien
30 /* 8.4.2.4 Snapshot */
32 void mwAwareSnapshot_get(struct mwGetBuffer *b, struct mwAwareSnapshot *idb) {
35 + guint32 end_of_block;
37 g_return_if_fail(b != NULL);
38 g_return_if_fail(idb != NULL);
40 - guint32_get(b, &junk);
41 + guint32_get(b, &end_of_block);
42 mwAwareIdBlock_get(b, &idb->id);
43 mwString_get(b, &idb->group);
44 gboolean_get(b, &idb->online);
49 mwString_get(b, &idb->alt_id);
50 mwUserStatus_get(b, &idb->status);
51 mwString_get(b, &idb->name);
54 + if(b->ptr < b->buf + end_of_block) {
55 + mwGetBuffer_advance(b, b->buf + end_of_block - b->ptr);
62 memset(idb, 0x00, sizeof(struct mwAwareSnapshot));
65 --- mw_cipher.h 2005-12-15 00:30:28.000000000 +0000
66 +++ ../../../mw_cipher.h 2010-10-26 16:31:39.030127293 +0100
70 Meanwhile - Unofficial Lotus Sametime Community Client Library
71 Copyright (C) 2004 Christopher (siege) O'Brien
73 struct mwSession *session;
75 guint16 type; /**< @see mwCipher_getType */
76 - const char *(*get_name)(); /**< @see mwCipher_getName */
77 - const char *(*get_desc)(); /**< @see mwCipher_getDesc */
78 + const char *(*get_name)(void); /**< @see mwCipher_getName */
79 + const char *(*get_desc)(void); /**< @see mwCipher_getDesc */
81 /** Generate a new Cipher Instance for use on a channel
82 @see mwCipher_newInstance */
86 /** prepare a new mpi value */
87 -struct mwMpi *mwMpi_new();
88 +struct mwMpi *mwMpi_new(void);
91 /** destroy an mpi value */
92 --- mw_common.h 2005-12-15 00:30:28.000000000 +0000
93 +++ ../../../mw_common.h 2010-10-26 16:33:17.914697797 +0100
97 Meanwhile - Unofficial Lotus Sametime Community Client Library
98 Copyright (C) 2004 Christopher (siege) O'Brien
100 /* 8.3.5 User Status Types */
103 + mwStatus_OFFLINE = 0x0000,
105 mwStatus_ACTIVE = 0x0020,
106 mwStatus_IDLE = 0x0040,
107 mwStatus_AWAY = 0x0060,
108 mwStatus_BUSY = 0x0080,
110 + mwStatus_MASK_MOBILE = 0x0200,
117 /** allocate a new empty buffer */
118 -struct mwPutBuffer *mwPutBuffer_new();
119 +struct mwPutBuffer *mwPutBuffer_new(void);
122 /** write raw data to the put buffer */
123 --- mw_st_list.h 2005-12-15 00:30:28.000000000 +0000
124 +++ ../../../mw_st_list.h 2010-10-26 16:32:16.350153506 +0100
128 Meanwhile - Unofficial Lotus Sametime Community Client Library
129 Copyright (C) 2004 Christopher (siege) O'Brien
133 /** Create a new list */
134 -struct mwSametimeList *mwSametimeList_new();
135 +struct mwSametimeList *mwSametimeList_new(void);
138 /** Free the list, all of its groups, and all of the groups' members */
139 --- srvc_conf.c 2005-12-28 02:46:54.000000000 +0000
140 +++ ../../../srvc_conf.c 2010-10-26 16:33:57.337870772 +0100
144 Meanwhile - Unofficial Lotus Sametime Community Client Library
145 Copyright (C) 2004 Christopher (siege) O'Brien
148 g_hash_table_destroy(conf->members);
150 - g_list_remove_all(srvc->confs, conf);
151 + srvc->confs = g_list_remove_all(srvc->confs, conf);
153 mw_datum_clear(&conf->client_data);
156 g_return_val_if_fail(srvc != NULL, NULL);
157 return g_list_copy(srvc->confs);