openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/dbus/1.12.16-r0/dbus-1.12.16/bus/config-parser.c
static BusConfigServiceDir*
    bus_config_service_dir_new_take(char* path, BusServiceDirFlags flags)
{
    BusConfigServiceDir* self = dbus_new0(BusConfigServiceDir, 1);

    if (self == NULL)
        return NULL;

    self->path = path; /* take ownership */
    self->flags = flags;
    return self;
}
/*
 * Create a new BusConfigServiceDir. Takes ownership of path if #TRUE is
 * returned.
 *
 * @returns #FALSE on OOM
 */
Create a new BusConfigServiceDir. Takes ownership of path if #TRUE is
returned.

@returns #FALSE on OOM
Create a new BusConfigServiceDir . Takes ownership of path if #TRUE is returned . @returns #FALSE on OOM
static BusConfigServiceDir*
    bus_config_service_dir_new_take(char* path, BusServiceDirFlags flags)
{
    BusConfigServiceDir* self = dbus_new0(BusConfigServiceDir, 1);
    if (self == NULL)
        return NULL;
    self->path = path; 
    self->flags = flags;
    return self;
}
static BusConfigServiceDir * bus_config_service_dir_new_take ( char * path , BusServiceDirFlags flags ) { BusConfigServiceDir * self = dbus_new0 ( BusConfigServiceDir , 1 ) ; if ( self == NULL ) return NULL ; self -> path = path ; self -> flags = flags ; return self ; }
Create a new BusConfigServiceDir.
Create a new BusConfigServiceDir .
/* take ownership */