dmap-share

## dmap-share dmap-share |

## Synopsis

                        DMAPMetaDataMap;
    #define             DMAP_STATUS_OK
    void                (*add_entry_to_mlcl)                (gpointer id,
                                                             DMAPRecord *record,
                                                             gpointer mb);
    void                (*content_codes)                    (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);
    void                (*ctrl_int)                         (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);
    void                (*databases)                        (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *context);
    void                (*databases_browse_xxx)             (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *msg,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *context);
    void                (*databases_items_xxx)              (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *msg,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *context);
    void                dmap_share_free_filter              (GSList *filter);
    guint               (*get_desired_port)                 (DMAPShare *share);
    const char *        (*get_type_of_service)              (DMAPShare *share);
    void                (*login)                            (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);
    void                (*logout)                           (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);
    void                (*message_add_standard_headers)     (DMAPShare *share,
                                                             SoupMessage *msg);
    void                (*name_collision)                   (DMAPShare *share,
                                                             DMAPMdnsPublisher *publisher,
                                                             const char *name);
    void                (*published)                        (DMAPShare *share,
                                                             DMAPMdnsPublisher *publisher,
                                                             const char *name);
    void                (*server_info)                      (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);
    void                (*update)                           (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);

## Description

## Details

### DMAPMetaDataMap

    typedef struct _DMAPMetaDataMap DMAPMetaDataMap;

### DMAP_STATUS_OK

    #define DMAP_STATUS_OK 200

### add_entry_to_mlcl ()

    void                (*add_entry_to_mlcl)                (gpointer id,
                                                             DMAPRecord *record,
                                                             gpointer mb);

### content_codes ()

    void                (*content_codes)                    (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);

### ctrl_int ()

    void                (*ctrl_int)                         (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);

### databases ()

    void                (*databases)                        (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *context);

### databases_browse_xxx ()

    void                (*databases_browse_xxx)             (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *msg,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *context);

### databases_items_xxx ()

    void                (*databases_items_xxx)              (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *msg,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *context);

### dmap_share_free_filter ()

    void                dmap_share_free_filter              (GSList *filter);

### get_desired_port ()

    guint               (*get_desired_port)                 (DMAPShare *share);

### get_type_of_service ()

    const char *        (*get_type_of_service)              (DMAPShare *share);

### login ()

    void                (*login)                            (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);

### logout ()

    void                (*logout)                           (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);

### message_add_standard_headers ()

    void                (*message_add_standard_headers)     (DMAPShare *share,
                                                             SoupMessage *msg);

### name_collision ()

    void                (*name_collision)                   (DMAPShare *share,
                                                             DMAPMdnsPublisher *publisher,
                                                             const char *name);

### published ()

    void                (*published)                        (DMAPShare *share,
                                                             DMAPMdnsPublisher *publisher,
                                                             const char *name);

### server_info ()

    void                (*server_info)                      (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);

### update ()

    void                (*update)                           (DMAPShare *share,
                                                             SoupServer *server,
                                                             SoupMessage *message,
                                                             const char *path,
                                                             GHashTable *query,
                                                             SoupClientContext *ctx);