Distributed Publish & Subscribe for IoT
synchronous.h
Go to the documentation of this file.
1 
6 /*
7  *******************************************************************
8  *
9  * Copyright 2016 Intel Corporation All rights reserved.
10  *
11  *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
12  *
13  * Licensed under the Apache License, Version 2.0 (the "License");
14  * you may not use this file except in compliance with the License.
15  * You may obtain a copy of the License at
16  *
17  * http://www.apache.org/licenses/LICENSE-2.0
18  *
19  * Unless required by applicable law or agreed to in writing, software
20  * distributed under the License is distributed on an "AS IS" BASIS,
21  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22  * See the License for the specific language governing permissions and
23  * limitations under the License.
24  *
25  *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
26  */
27 
28 #ifndef _DPS_SYNCHRONOUS_H
29 #define _DPS_SYNCHRONOUS_H
30 
31 #include <dps/dps.h>
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
54 DPS_Status DPS_LinkTo(DPS_Node* node, const char* addrText, DPS_NodeAddress* addr);
55 
65 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif
Public APIs.
DPS_Status DPS_LinkTo(DPS_Node *node, const char *addrText, DPS_NodeAddress *addr)
Synchronous helper that wraps DPS_Link().
struct _DPS_NodeAddress DPS_NodeAddress
Opaque type for a remote node address.
Definition: dps.h:57
int DPS_Status
The status code type.
Definition: err.h:41
DPS_Status DPS_UnlinkFrom(DPS_Node *node, const DPS_NodeAddress *addr)
Synchronous helper that wraps DPS_Unlink().
struct _DPS_Node DPS_Node
Opaque type for a node.
Definition: dps.h:450