types

types

Synopsis




enum                SearchType;
enum                RDelType;
void                (*RFunc)                            (gpointer obj,
                                                         gpointer user_data);
                    RInfos;
#define             r_infos_get_id                      (x)
#define             r_infos_get_label                   (x)
#define             r_infos_get_first                   (x)
#define             r_infos_get_last                    (x)
#define             r_infos_get_profession              (x)
#define             r_infos_get_city                    (x)
#define             r_infos_get_country                 (x)
#define             r_infos_get_assignment              (x)
#define             r_infos_get_web                     (x)
#define             r_infos_get_email                   (x)
#define             r_infos_get_irc                     (x)
#define             r_infos_get_telephone               (x)

Description

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;


RFunc ()

void                (*RFunc)                            (gpointer obj,
                                                         gpointer user_data);

obj :

user_data :


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)

x :


r_infos_get_label()

#define r_infos_get_label(x)       (x->label)

x :


r_infos_get_first()

#define r_infos_get_first(x)       (x->first)

x :


r_infos_get_last()

#define r_infos_get_last(x)        (x->last)

x :


r_infos_get_profession()

#define r_infos_get_profession(x)  (x->prof)

x :


r_infos_get_city()

#define r_infos_get_city(x)        (x->city)

x :


r_infos_get_country()

#define r_infos_get_country(x)     (x->country)

x :


r_infos_get_assignment()

#define r_infos_get_assignment(x)  (x->assignment)

x :


r_infos_get_web()

#define r_infos_get_web(x)         (x->web)

x :


r_infos_get_email()

#define r_infos_get_email(x)       (x->email)

x :


r_infos_get_irc()

#define r_infos_get_irc(x)         (x->irc)

x :


r_infos_get_telephone()

#define r_infos_get_telephone(x)   (x->telephone)

x :