AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/src/proplist.c
unsigned property_list_count(
    const int *pList)
{
    unsigned property_count = 0;

    if (pList) {
        while (*pList != -1) {
            property_count++;
            pList++;
        }
    }

    return property_count;
}
/**
 * Function that returns the number of BACnet object properties in a list
 *
 * @param pList - array of type 'int' that is a list of BACnet object
 * properties, terminated by a '-1' value.
 */
Function that returns the number of BACnet object properties in a list
@param pList - array of type 'int' that is a list of BACnet object
properties, terminated by a '-1' value.
Function that returns the number of BACnet object properties in a list @param pList - array of type ' int ' that is a list of BACnet object properties terminated by a ' - 1 ' value .
unsigned property_list_count(
    const int *pList)
{
    unsigned property_count = 0;
    if (pList) {
        while (*pList != -1) {
            property_count++;
            pList++;
        }
    }
    return property_count;
}
unsigned property_list_count ( const int * pList ) { unsigned property_count = 0 ; if ( pList ) { while ( * pList != -1 ) { property_count ++ ; pList ++ ; } } return property_count ; }
Function that returns the number of BACnet object properties in a list
 @param pList - array of type 'int' that is a list of BACnet object
 properties, terminated by a '-1' value.
Function that returns the number of BACnet object properties in a list @param pList - array of type ' int ' that is a list of BACnet object properties terminated by a ' - 1 ' value .