* mu-config.[ch]: do tty-checking here (for --color), add mu_config_param_num

(for param-checking)
This commit is contained in:
Dirk-Jan C. Binnema
2011-05-26 23:35:34 +03:00
parent a2907dc8e5
commit c60e03a16d
2 changed files with 35 additions and 1 deletions

View File

@ -150,6 +150,18 @@ void mu_config_destroy (MuConfig *opts);
*/
MuExitCode mu_config_execute (MuConfig *opts);
/**
* count the number of non-option parameters
*
* @param conf a MuConfig instance
*
* @return the number of non-option parameters, or 0 in case of error
*/
guint mu_config_param_num (MuConfig *conf);
G_END_DECLS
#endif /*__MU_CONFIG_H__*/