#include "ocresource.h"
#include "cacommon.h"
+#ifdef WITH_PRESENCE
/**
* Data structure For presence Discovery.
* This is the TTL associated with presence.
/** TTL Level. */
uint32_t TTLlevel;
} OCPresence;
-
-/**
- * Data structure to hold Multicast node identity for resource discovery.
- */
-typedef struct OCMulticastNode
-{
- /** URI of new resource.*/
- char * uri;
-
- /** URI of new resource that entity handler might create.*/
- uint32_t nonce;
-
- /** Linked list; for multicast nodes.*/
- struct OCMulticastNode * next;
-} OCMulticastNode;
+#endif // WITH_PRESENCE
/**
* Forward declaration of resource type.
*/
void FindAndDeleteClientCB(ClientCB * cbNode);
-/** @ingroup ocstack
- *
- * This method is used to search a multicast presence node from list.
- *
- * @param[in] uri the uri of the request.
- *
- * @return OCMulticastNode
- * The resulting node from making this call. Null if doesn't exist.
- */
-
-OCMulticastNode* GetMCPresenceNode(const char * uri);
-
-/** @ingroup ocstack
- *
- * This method is used to add a multicast presence node to the list.
- * @param[out] outnode the resulting node from making this call. Null if out of memory.
- * @param[in] uri the uri of the server.
- * @param[in] nonce current nonce for the server
- *
- * @return OC_STACK_OK for Success, otherwise some error value
- */
-
-OCStackResult AddMCPresenceNode(OCMulticastNode** outnode, char* uri, uint32_t nonce);
-
#endif //OC_CLIENT_CB