| libdmapsharing-3.0 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#define DMAP_TYPE_SHARE #define DMAP_SHARE (o) #define DMAP_SHARE_CLASS (k) #define IS_DMAP_SHARE (o) #define IS_DMAP_SHARE_CLASS (k) #define DMAP_SHARE_GET_CLASS (o) #define DMAP_STATUS_OK typedef DMAPSharePrivate; DMAPShare; DMAPMetaDataMap; DMAPShareClass; GType dmap_share_get_type (void); 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
#define DMAP_SHARE(o)
Casts a DMAPShare or derived pointer into a (DMAPShare*) pointer. Depending on the current debugging level, this function may invoke certain runtime checks to identify invalid casts.
|
Object which is subject to casting. |
#define DMAP_SHARE_CLASS(k)
Casts a derived DMAPShareClass structure into a DMAPShareClass structure.
|
a valid DMAPShareClass |
#define IS_DMAP_SHARE(o)
Checks whether a valid GTypeInstance pointer is of type DMAP_TYPE_SHARE.
|
Instance to check for being a DMAP_TYPE_SHARE.
|
#define IS_DMAP_SHARE_CLASS(k)
Checks whether k "is a" valid DMAPShareClass structure of type
DMAP_SHARE or derived.
|
a DMAPShareClass |
#define DMAP_SHARE_GET_CLASS(o)
Get the class structure associated to a DMAPShare instance.
|
a DMAPShare instance. |
Returns : |
pointer to object class structure. |
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.