AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/src/proplist.c
void property_list_special(
    BACNET_OBJECT_TYPE object_type,
    struct special_property_list_t *pPropertyList)
{
    if (pPropertyList == NULL) {
        return;
    }
    pPropertyList->Required.pList = property_list_required(object_type);
    pPropertyList->Optional.pList = property_list_optional(object_type);
    pPropertyList->Proprietary.pList = NULL;
    /* Fetch the counts if available otherwise zero them */
    pPropertyList->Required.count =
        property_list_count(pPropertyList->Required.pList);
    pPropertyList->Optional.count =
        property_list_count(pPropertyList->Optional.pList);
    pPropertyList->Proprietary.count = 0;

    return;
}
/**
 * Function that returns the list of Required or Optional properties
 * of known standard objects.
 *
 * @param object_type - enumerated BACNET_OBJECT_TYPE
 * @param pPropertyList - returns a pointer to two '-1' terminated arrays of
 * type 'int' that contain BACnet object properties for the given object
 * type.
 */
Function that returns the list of Required or Optional properties
of known standard objects.

@param object_type - enumerated BACNET_OBJECT_TYPE
@param pPropertyList - returns a pointer to two '-1' terminated arrays of
type 'int' that contain BACnet object properties for the given object
type.
Function that returns the list of Required or Optional properties of known standard objects . @param object_type - enumerated BACNET_OBJECT_TYPE @param pPropertyList - returns a pointer to two ' - 1 ' terminated arrays of type ' int ' that contain BACnet object properties for the given object type .
void property_list_special(
    BACNET_OBJECT_TYPE object_type,
    struct special_property_list_t *pPropertyList)
{
    if (pPropertyList == NULL) {
        return;
    }
    pPropertyList->Required.pList = property_list_required(object_type);
    pPropertyList->Optional.pList = property_list_optional(object_type);
    pPropertyList->Proprietary.pList = NULL;
    pPropertyList->Required.count =
        property_list_count(pPropertyList->Required.pList);
    pPropertyList->Optional.count =
        property_list_count(pPropertyList->Optional.pList);
    pPropertyList->Proprietary.count = 0;
    return;
}
void property_list_special ( BACNET_OBJECT_TYPE object_type , struct special_property_list_t * pPropertyList ) { if ( pPropertyList == NULL ) { return ; } pPropertyList -> Required . pList = property_list_required ( object_type ) ; pPropertyList -> Optional . pList = property_list_optional ( object_type ) ; pPropertyList -> Proprietary . pList = NULL ; pPropertyList -> Required . count = property_list_count ( pPropertyList -> Required . pList ) ; pPropertyList -> Optional . count = property_list_count ( pPropertyList -> Optional . pList ) ; pPropertyList -> Proprietary . count = 0 ; return ; }
Function that returns the list of Required or Optional properties
 of known standard objects.
Function that returns the list of Required or Optional properties of known standard objects .
/* Fetch the counts if available otherwise zero them */