* @retval ptr New CfgAccount object
*/
struct CfgAccount *ac_create(const struct ConfigSet *cs, const char *name,
- const char *var_names[])
+ const char *var_names[])
{
if (!cs || !name || !var_names)
return NULL; /* LCOV_EXCL_LINE */
/**
* count_query_thread_messages - Count the number of messages in all queried threads
- * @param query Executed query
+ * @param q Executed query
* @retval num Number of messages
*/
static unsigned int count_query_thread_messages(notmuch_query_t *q)
/**
* count_query_messages - Count the number of queried messages
- * @param query Executed query
+ * @param q Executed query
* @retval num Number of messages
*/
static unsigned int count_query_messages(notmuch_query_t *q)
* count_query - Count the results of a query
* @param db Notmuch database
* @param qstr Query to execute
+ * @param type Query type, e.g. #NM_QUERY_TYPE_MESGS
* @retval num Number of results
*/
static unsigned int count_query(notmuch_database_t *db, const char *qstr, enum NmQueryType type)