comparison src/cmds.h @ 9256:848aeb69250d

[gaim-migrate @ 10055] picky, picky I'm more worried about user visible strings. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Thu, 10 Jun 2004 06:10:58 +0000
parents 933c7418fd03
children 5f6ba17ef9f5
comparison
equal deleted inserted replaced
9255:36938636ca8a 9256:848aeb69250d
110 * GAIM_CMD_FLAG_CHAT (can may pass both) in order for the command to ever actually 110 * GAIM_CMD_FLAG_CHAT (can may pass both) in order for the command to ever actually
111 * be called. 111 * be called.
112 * @param prpl_id This is the prpl's id string. This is only meaningful is the proper flag is set. 112 * @param prpl_id This is the prpl's id string. This is only meaningful is the proper flag is set.
113 * @param func This is the function to call when someone enters this command. 113 * @param func This is the function to call when someone enters this command.
114 * @param helpstr This is a whitespace sensitive, UTF-8, HTML string describing how to use the command. 114 * @param helpstr This is a whitespace sensitive, UTF-8, HTML string describing how to use the command.
115 * The prefered format of this string shall be the commands name, followed by a space 115 * The preferred format of this string shall be the commands name, followed by a space
116 * and any arguments it accpets (if it takes any arguments, otherwise no space), follow 116 * and any arguments it accpets (if it takes any arguments, otherwise no space), follow
117 * by a colon, two spaces, and a description of the command in sentense form. No slash 117 * by a colon, two spaces, and a description of the command in sentence form. No slash
118 * before the command name. 118 * before the command name.
119 * @return A pointer to a GaimCmdId. This is only used for calling gaim_cmd_unregister, which frees it. 119 * @return A pointer to a GaimCmdId. This is only used for calling gaim_cmd_unregister, which frees it.
120 * Returns @c NULL on failure. 120 * Returns @c NULL on failure.
121 */ 121 */
122 GaimCmdId *gaim_cmd_register(const gchar *cmd, const gchar *args, GaimCmdPriority p, GaimCmdFlag f, 122 GaimCmdId *gaim_cmd_register(const gchar *cmd, const gchar *args, GaimCmdPriority p, GaimCmdFlag f,