GNU Dico Manual (split by node):   Section:   Chapter:FastBack: Libdico   Up: Libdico   FastForward: Copying This Manual   Contents: Table of ContentsIndex: Concept Index

D.9 url

Editor’s note:

The information in this node may be obsolete or otherwise inaccurate. This message will disappear, once this node revised.

struct: dico_url
#define DICO_REQUEST_DEFINE 0
#define DICO_REQUEST_MATCH 1

struct dico_request {
    int type;
    char *word;
    char *database;
    char *strategy;
    unsigned long n;
};

struct dico_url {
    char *string;
    char *proto;
    char *host;
    int port;
    char *path;
    char *user;
    char *passwd;
    dico_assoc_list_t args;
    struct dico_request req;
};
Pointer: dico_url_t
Function: int dico_url_parse (dico_url_t *purl, const char *str)
Function: void dico_url_destroy (dico_url_t *purl)
Function: const char * dico_url_get_arg ( dico_url_t url, const char *argname)
Function: char * dico_url_full_path (dico_url_t url)