Exemple #1
0
c_bool
d_publisherNameSpacesRequestWriterCopy(
    c_type type,
    void *data,
    void *to)
{
    OS_UNUSED_ARG(type);
    assert(type);

    return d_publisherMessageWriterCopy(&d_nameSpacesRequest(data)->parentMsg, &d_nameSpacesRequest(to)->parentMsg);
}
d_nameSpacesRequest
d_nameSpacesRequestNew(
    d_admin admin)
{
    d_nameSpacesRequest request;

    request = NULL;

    if(admin){
        request = d_nameSpacesRequest(os_malloc(C_SIZEOF(d_nameSpacesRequest)));

        if(request){
            d_messageInit(d_message(request), admin);
        }
    }
    return request;
}