38 #ifndef OPENAPI_BONJOUR_H_INCLUDED
39 #define OPENAPI_BONJOUR_H_INCLUDED
46 OPEN_BONJOUR_SERVICE_FIRST = 0,
47 OPEN_BONJOUR_SERVICE_GENERIC = OPEN_BONJOUR_SERVICE_FIRST,
48 OPEN_BONJOUR_SERVICE_HTTP,
49 OPEN_BONJOUR_SERVICE_HTTPS,
50 OPEN_BONJOUR_SERVICE_TELNET,
51 OPEN_BONJOUR_SERVICE_SSH,
52 OPEN_BONJOUR_SERVICE_LAST,
53 } OPEN_BONJOUR_SERVICE_TYPE_t;
56 #define OPEN_BONJOUR_SERVICE_NAME_MAX_LEN 64
57 #define OPEN_BONJOUR_SERVICE_TYPE_MAX_LEN 1005
58 #define OPEN_BONJOUR_SERVICE_DOMAIN_MAX_LEN 1005
59 #define OPEN_BONJOUR_SERVICE_TXT_MAX_LEN 256
66 OPEN_BONJOUR_SERVICE_TYPE_t service;
68 unsigned char serviceName[OPEN_BONJOUR_SERVICE_NAME_MAX_LEN];
69 unsigned char serviceType[OPEN_BONJOUR_SERVICE_TYPE_MAX_LEN];
70 unsigned char serviceDomain[OPEN_BONJOUR_SERVICE_DOMAIN_MAX_LEN];
72 unsigned char serviceText[OPEN_BONJOUR_SERVICE_TXT_MAX_LEN];
open_error_t openapiBonjourServiceGetByIndex(openapiClientHandle_t *client_handle, uint32_t index, OPEN_BONJOUR_SERVICE_INFO_t *pServiceEntry)
Gets information about the published service corresponding to index.
open_error_t openapiBonjourPublishedServiceGetNext(openapiClientHandle_t *client_handle, OPEN_BONJOUR_SERVICE_INFO_t *pServiceEntry)
Gets information about the next published service.
open_error_t openapiBonjourDebugLevel1Get(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *pMode)
Gets the level-1 tracing mode of Bonjour responder.
open_error_t openapiBonjourAdminModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *pMode)
Gets admin mode of Bonjour responder.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiBonjourAdminModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
Sets admin mode of Bonjour responder.
open_error_t openapiBonjourPublishedServiceGet(openapiClientHandle_t *client_handle, OPEN_BONJOUR_SERVICE_INFO_t *pServiceEntry)
Gets information about the published service.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiBonjourDebugLevel2Set(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
Sets the level-2 tracing mode of Bonjour responder.
open_error_t openapiBonjourDebugLevel1Set(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
Sets the level-1 tracing mode of Bonjour responder.
open_error_t openapiBonjourDebugLevel2Get(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *pMode)
Gets the level-2 tracing mode of Bonjour responder.
open_error_t openapiBonjourServiceIndexGetNext(openapiClientHandle_t *client_handle, uint32_t index, uint32_t *pNextIndex)
Gets information about the next published service index.