| libdmapsharing Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
DMAPMetaDataMap;
DMAPShare;
DMAPShareClass;
#define DMAP_SHARE_CHUNK_SIZE
#define DMAP_STATUS_OK
void dmap_share_free_filter (GSList *filter);
"auth-method" guint : Read / Write "container-db" gpointer : Read / Write / Construct Only "db" gpointer : Read / Write / Construct Only "name" gchar* : Read / Write "password" gchar* : Read / Write "revision-number" guint : Read / Write "server-ipv4" SoupServer* : Read "server-ipv6" SoupServer* : Read "transcode-mimetype" gchar* : Read / Write / Construct Only "txt-records" GStrv : Read / Write
typedef struct {
GObjectClass parent;
/* Pure virtual methods: */
guint (*get_desired_port) (DMAPShare *share);
const char * (*get_type_of_service) (DMAPShare *share);
void (*message_add_standard_headers) (DMAPShare *share,
SoupMessage *msg);
struct DMAPMetaDataMap * (*get_meta_data_map) (DMAPShare *share);
void (*add_entry_to_mlcl) (gpointer id,
DMAPRecord *record,
gpointer mb);
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);
/* Pure virtual methods: libsoup callbacks */
void (*server_info) (DMAPShare *share, SoupServer *server,
SoupMessage *message, const char *path,
GHashTable *query, SoupClientContext *ctx);
void (*content_codes) (DMAPShare *share, SoupServer *server,
SoupMessage *message, const char *path,
GHashTable *query, SoupClientContext *ctx);
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 (*update) (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);
/* Virtual methods: MDNS callbacks */
void (*published) (DMAPShare *share,
DmapMdnsPublisher *publisher,
const char *name);
void (*name_collision)(DMAPShare *share,
DmapMdnsPublisher *publisher,
const char *name);
/* Virtual methods: */
void (*databases) (DMAPShare *share,
SoupServer *server,
SoupMessage *message,
const char *path,
GHashTable *query,
SoupClientContext *context);
} DMAPShareClass;
"auth-method" property"auth-method" guint : Read / Write
Authentication method.
Allowed values: <= 2
Default value: 0
"container-db" property"container-db" gpointer : Read / Write / Construct Only
Container DB object.
"password" property"password" gchar* : Read / Write
Authentication password.
Default value: NULL
"revision-number" property"revision-number" guint : Read / Write
Revision number.
Allowed values: <= G_MAXINT
Default value: 0
"transcode-mimetype" property"transcode-mimetype" gchar* : Read / Write / Construct Only
Set mimetype of stream after transcoding.
Default value: NULL
"txt-records" property"txt-records" GStrv : Read / Write
Set TXT-Records used for MDNS publishing.