Some of the code that *is* in the C API is bracketed in conditional compilation.
For example, ocpayload.h has: #ifdef __WITH_TLS__ bool OCRepPayloadSetPropPubDataType(OCRepPayload *payload, const char *name, const OicSecKey_t *value); bool OCRepPayloadSetPropPubDataTypeAsOwner(OCRepPayload *payload, const char *name, const OicSecKey_t *value); bool OCRepPayloadGetPropPubDataType(const OCRepPayload *payload, const char *name, OicSecKey_t *value); #endif I'm not really fond of the idea that the API has different components depending on how the stack has been compiled. Do we want to do this? Or is it better to stub out functions if they don't apply - that is, the above three would be present but return some form of "not implemented" error if called?
