コード例 #1
0
ファイル: changeset.c プロジェクト: andreibosco/AwaLWM2M
bool AwaChangeSet_ContainsPath(const AwaChangeSet * changeSet, const char * path)
{
    bool containsPath = false;

    if (changeSet != NULL)
    {
        containsPath = ResponseCommon_ContainsPath(changeSet->ResponseCommon, path);
    }
    else
    {
        LogErrorWithEnum(AwaError_OperationInvalid, "ChangeSet is NULL");
    }
    return containsPath;
}
コード例 #2
0
bool AwaClientGetResponse_ContainsPath(const AwaClientGetResponse * response, const char * path)
{
    bool containsPath = false;

    if (response != NULL)
    {
        // AwaClientGetResponse is an alias for ResponseCommon
        containsPath = ResponseCommon_ContainsPath((const ResponseCommon *)response, path);
    }
    else
    {
        LogErrorWithEnum(AwaError_OperationInvalid, "Get Response is NULL");
    }
    return containsPath;
}
コード例 #3
0
bool AwaServerExecuteResponse_ContainsPath(const AwaServerExecuteResponse * response, const char * path)
{
    // AwaServerExecuteResponse is an alias for ResponseCommon
    return ResponseCommon_ContainsPath((const ResponseCommon *)response, path);
}