Logo Search packages:      
Sourcecode: dbmail version File versions  Download package

dbsearch.h

/*
 * dbsearch.h
 *
 * function prototypes for search functionality
 *
 * should connect to any dbXXX.c file where XXXX is the dbase to be used
 */

#ifndef _DBSEARCH_H
#define _DBSEARCH_H

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "dbmailtypes.h"

int db_search(int *rset, int setlen, const char *key, mailbox_t *mb);
int db_search_parsed(int *rset, int setlen, search_key_t *sk, mailbox_t *mb);

int db_search_messages(char **search_keys, u64_t **search_results, int *nsresults,
                   u64_t mboxid);

#endif

Generated by  Doxygen 1.6.0   Back to index