| 148 * prefix, which the core has no knowledge of. cmd should not contain any |
148 * prefix, which the core has no knowledge of. cmd should not contain any |
| 149 * formatting, and should be in plain text (no html entities). |
149 * formatting, and should be in plain text (no html entities). |
| 150 * @param markup This is the same as cmd, but is the formatted version. It should be in |
150 * @param markup This is the same as cmd, but is the formatted version. It should be in |
| 151 * HTML, with < > and &, at least, escaped to html entities, and should |
151 * HTML, with < > and &, at least, escaped to html entities, and should |
| 152 * include both the default formatting and any extra manual formatting. |
152 * include both the default formatting and any extra manual formatting. |
| 153 * @param errormsg If the command failed and errormsg is not NULL, it is filled in with |
153 * @param errormsg If the command failed errormsg is filled in with the appropriate error |
| 154 * the appropriate error message. It should be freed by the caller with |
154 * message. It must be freed by the caller with g_free(). |
| 155 * g_free(). |
|
| 156 * @return A GaimCmdStatus indicated if the command succeeded or failed. |
155 * @return A GaimCmdStatus indicated if the command succeeded or failed. |
| 157 */ |
156 */ |
| 158 GaimCmdStatus gaim_cmd_do_command(GaimConversation *conv, const gchar *cmdline, |
157 GaimCmdStatus gaim_cmd_do_command(GaimConversation *conv, const gchar *cmdline, |
| 159 const gchar *markup, gchar **errormsg); |
158 const gchar *markup, gchar **errormsg); |
| 160 |
159 |