IoTivity-Lite
oc_role.h File Reference
#include "oc_client_state.h"
#include "oc_helpers.h"
#include "oc_endpoint.h"
#include "util/oc_compiler.h"
#include <stdbool.h>

Typedefs

typedef struct oc_role_t oc_role_t
 

Functions

void oc_assert_all_roles (const oc_endpoint_t *endpoint, oc_response_handler_t handler, void *user_data)
 assert all the roles for a specific endpoint More...
 
bool oc_assert_role (const char *role, const char *authority, const oc_endpoint_t *endpoint, oc_response_handler_t handler, void *user_data)
 assert the specific role More...
 
void oc_auto_assert_roles (bool auto_assert)
 set automatic role assertion (e.g. More...
 
oc_role_t * oc_get_all_roles (void)
 retrieve all roles More...