Details
enum SearchType
typedef enum {
SEARCH_ON_STRING, /* search string */
SEARCH_ON_CREATION, /* search creation date that is given */
SEARCH_ON_CHANGE, /* search change date that is given */
SEARCH_CREATION_BEFORE, /* search a creation date before given */
SEARCH_CREATION_AFTER, /* " after given */
SEARCH_CREATION_BETWEEN, /* " between first and second */
SEARCH_CHANGE_BEFORE, /* search a last change date before given */
SEARCH_CHANGE_AFTER, /* " after given */
SEARCH_CHANGE_BETWEEN, /* " between first and second */
} SearchType;
enum RDelType
typedef enum {
R_CARD_DELETED,
R_CARD_UNDELETED,
R_CARD_HAS_REFS
} RDelType;
RInfos
typedef struct {
glong id; /* card id */
gchar *label; /* card label */
gchar *first; /* contact's first name */
gchar *last; /* contact's last name */
gchar *prof; /* contact's profession */
gchar *city;
gchar *country;
gchar *assignment; /* contact's assignmet */
gchar *web; /* contact's home page */
gchar *email; /* contact's email */
gchar *irc;
gchar *telephone; /* contact's telephone number */
} RInfos;
r_infos_get_id()
#define r_infos_get_id(x) (x->id)
r_infos_get_label()
#define r_infos_get_label(x) (x->label)
r_infos_get_first()
#define r_infos_get_first(x) (x->first)
r_infos_get_last()
#define r_infos_get_last(x) (x->last)
r_infos_get_profession()
#define r_infos_get_profession(x) (x->prof)
r_infos_get_city()
#define r_infos_get_city(x) (x->city)
r_infos_get_country()
#define r_infos_get_country(x) (x->country)
r_infos_get_assignment()
#define r_infos_get_assignment(x) (x->assignment)
r_infos_get_web()
#define r_infos_get_web(x) (x->web)
r_infos_get_email()
#define r_infos_get_email(x) (x->email)
r_infos_get_irc()
#define r_infos_get_irc(x) (x->irc)
r_infos_get_telephone()
#define r_infos_get_telephone(x) (x->telephone)