comparison libpurple/protocols/myspace/persist.h @ 17373:2aff11bb5e72

Several small changes to work towards a working msim_remove_buddy(): (Note: I'm not there yet) Change MsimSession.userid to an integer. Change msim_postprocess_outgoing() to accept a format string in the _uid_field_name field, having "%d" replaced with the userid (instead of adding a new field with the userid). Added so that the "body" field can be postprocessed. Enable msim_remove_buddy() to send the persistance buddy delete message, but it does not yet work. Add msim_new_reply_callback() for setting up a persistance reply callback, instead of having to manually insert into the hash tables. Add msim_msg_get_own_uid{,_cb}() to get our own userid. Rename MG_YOUR_MYSPACE_INFO to MG_OWN_MYSPACE_INFO.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Wed, 13 Jun 2007 21:21:48 +0000
parents d353afe1aa12
children d87916bd1d73
comparison
equal deleted inserted replaced
17372:d9aaccef8721 17373:2aff11bb5e72
60 MSIM_PERSIST_DSN_LID(MG_LIST_ALL_CONTACTS, 0, 1) 60 MSIM_PERSIST_DSN_LID(MG_LIST_ALL_CONTACTS, 0, 1)
61 MSIM_PERSIST_DSN_LID(MG_USER_INFO_BY_ID, 0, 2) 61 MSIM_PERSIST_DSN_LID(MG_USER_INFO_BY_ID, 0, 2)
62 MSIM_PERSIST_DSN_LID(MG_IM_INFO_BY_ID, 1, 17) 62 MSIM_PERSIST_DSN_LID(MG_IM_INFO_BY_ID, 1, 17)
63 MSIM_PERSIST_DSN_LID(MG_LIST_ALL_GROUPS, 2, 6) 63 MSIM_PERSIST_DSN_LID(MG_LIST_ALL_GROUPS, 2, 6)
64 MSIM_PERSIST_DSN_LID(MG_MYSPACE_INFO_BY_ID, 4, 3) 64 MSIM_PERSIST_DSN_LID(MG_MYSPACE_INFO_BY_ID, 4, 3)
65 MSIM_PERSIST_DSN_LID(MG_YOUR_MYSPACE_INFO, 4, 5) 65 MSIM_PERSIST_DSN_LID(MG_OWN_MYSPACE_INFO, 4, 5)
66 MSIM_PERSIST_DSN_LID(MG_MYSPACE_INFO_BY_STRING, 5, 7) 66 MSIM_PERSIST_DSN_LID(MG_MYSPACE_INFO_BY_STRING, 5, 7)
67 MSIM_PERSIST_DSN_LID(MG_CHECK_MAIL, 7, 18) 67 MSIM_PERSIST_DSN_LID(MG_CHECK_MAIL, 7, 18)
68 MSIM_PERSIST_DSN_LID(MG_WEB_CHALLENGE, 17, 26) 68 MSIM_PERSIST_DSN_LID(MG_WEB_CHALLENGE, 17, 26)
69 MSIM_PERSIST_DSN_LID(MG_USER_SONG, 21, 28) 69 MSIM_PERSIST_DSN_LID(MG_USER_SONG, 21, 28)
70 MSIM_PERSIST_DSN_LID(MG_SERVER_INFO, 101, 20) 70 MSIM_PERSIST_DSN_LID(MG_SERVER_INFO, 101, 20)