comparison src/cmds.h @ 10052:eaec201b2688

[gaim-migrate @ 11013] More rockin status stuff from Dave West! Things are beginning to shape up quite well. Dave, again, sorry it took me a week to get to this. Girl waits for no man. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 19 Sep 2004 21:19:55 +0000
parents acbbc0d73600
children 84cf3fc8a2cb
comparison
equal deleted inserted replaced
10051:0810288958ad 10052:eaec201b2688
118 * and any arguments it accpets (if it takes any arguments, otherwise no space), follow 118 * and any arguments it accpets (if it takes any arguments, otherwise no space), follow
119 * by a colon, two spaces, and a description of the command in sentence form. No slash 119 * by a colon, two spaces, and a description of the command in sentence form. No slash
120 * before the command name. 120 * before the command name.
121 * @param data User defined data to pass to the GaimCmdFunc 121 * @param data User defined data to pass to the GaimCmdFunc
122 * @return A GaimCmdId. This is only used for calling gaim_cmd_unregister. 122 * @return A GaimCmdId. This is only used for calling gaim_cmd_unregister.
123 * Returns @c NULL on failure. 123 * Returns 0 on failure.
124 */ 124 */
125 GaimCmdId gaim_cmd_register(const gchar *cmd, const gchar *args, GaimCmdPriority p, GaimCmdFlag f, 125 GaimCmdId gaim_cmd_register(const gchar *cmd, const gchar *args, GaimCmdPriority p, GaimCmdFlag f,
126 const gchar *prpl_id, GaimCmdFunc func, const gchar *helpstr, void *data); 126 const gchar *prpl_id, GaimCmdFunc func, const gchar *helpstr, void *data);
127 127
128 /** 128 /**