* add 'mu add' and 'mu remove' commands for adding, removing messages from the database

This commit is contained in:
Dirk-Jan C. Binnema
2011-08-03 23:00:48 +03:00
parent ef086db2a7
commit 82be4974b7
6 changed files with 243 additions and 71 deletions

View File

@ -118,6 +118,26 @@ MuExitCode mu_cmd_mv (MuConfig *opts);
MuExitCode mu_cmd_cfind (MuConfig *opts);
/**
* execute the add command
*
* @param opts configuration options
*
* @return MU_EXITCODE_OK (0) if the command succeeds,
* MU_EXITCODE_ERROR otherwise
*/
MuExitCode mu_cmd_add (MuConfig *opts);
/**
* execute the remove command
*
* @param opts configuration options
*
* @return MU_EXITCODE_OK (0) if the command succeeds,
* MU_EXITCODE_ERROR otherwise
*/
MuExitCode mu_cmd_remove (MuConfig *opts);
G_END_DECLS
#endif /*__MU_CMD_H__*/