daap-share: libdmapsharing-3.0 Reference Manual

## daap-share daap-share |

## Functions

DAAPShare * | daap_share_new ()

## Description

## Functions

### daap_share_new ()

    DAAPShare *
    daap_share_new (const char *name,
                    const char *password,
                    DMAPDb *db,
                    DMAPContainerDb *container_db,
                    gchar *transcode_mimetype);

Creates a new DAAP share and publishes it using mDNS.

#### Parameters

name | The name that will be published by mDNS. |
password | A share password or NULL. |
db | A media database. |
container_db | A container (album) database. |
transcode_mimetype | A transcode mimetype or NULL. |

#### Returns

a pointer to a DAAPShare.