• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _rendezvous_rendezvous_h
2 #define _rendezvous_rendezvous_h
3 
4 /*
5  * Copyright 2003, 2004 Porchdog Software. All rights reserved.
6  *
7  *	Redistribution and use in source and binary forms, with or without modification,
8  *	are permitted provided that the following conditions are met:
9  *
10  *		1. Redistributions of source code must retain the above copyright notice,
11  *		   this list of conditions and the following disclaimer.
12  *		2. Redistributions in binary form must reproduce the above copyright notice,
13  *		   this list of conditions and the following disclaimer in the documentation
14  *		   and/or other materials provided with the distribution.
15  *
16  *	THIS SOFTWARE IS PROVIDED BY PORCHDOG SOFTWARE ``AS IS'' AND ANY
17  *	EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18  *	WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19  *	IN NO EVENT SHALL THE HOWL PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
20  *	INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21  *	BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22  *	DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23  *	OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
24  *	OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
25  *	OF THE POSSIBILITY OF SUCH DAMAGE.
26  *
27  *	The views and conclusions contained in the software and documentation are those
28  *	of the authors and should not be interpreted as representing official policies,
29  *	either expressed or implied, of Porchdog Software.
30  */
31 
32 #include <discovery/discovery.h>
33 
34 #define _sw_rendezvous							_sw_discovery
35 #define sw_rendezvous							sw_discovery
36 #define sw_rendezvous_publish_domain_id	sw_discovery_publish_domain_id
37 #define sw_rendezvous_publish_host_id		sw_discovery_publish_host_id
38 #define sw_rendezvous_publish_id				sw_discovery_publish_id
39 #define sw_rendezvous_browse_id				sw_discovery_browse_id
40 #define sw_rendezvous_resolve_id				sw_discovery_resolve_id
41 #define sw_rendezvous_publish_status		sw_discovery_publish_status
42 #define SW_RENDEZVOUS_PUBLISH_STARTED		SW_DISCOVERY_PUBLISH_STARTED
43 #define SW_RENDEZVOUS_PUBLISH_STOPPED		SW_DISCOVERY_PUBLISH_STOPPED
44 #define SW_RENDEZVOUS_PUBLISH_NAME_COLLISION	SW_DISCOVERY_PUBLISH_NAME_COLLISION
45 #define SW_RENDEZVOUS_PUBLISH_INVALID		SW_DISCOVERY_PUBLISH_INVALID
46 #define sw_rendezvous_browse_status			sw_discovery_browse_status
47 #define SW_RENDEZVOUS_BROWSE_INVALID		SW_DISCOVERY_BROWSE_INVALID
48 #define SW_RENDEZVOUS_BROWSE_RELEASE		SW_DISCOVERY_BROWSE_RELEASE
49 #define SW_RENDEZVOUS_BROWSE_ADD_DOMAIN	SW_DISCOVERY_BROWSE_ADD_DOMAIN
50 #define SW_RENDEZVOUS_BROWSE_ADD_DEFAULT_DOMAIN	SW_DISCOVERY_BROWSE_ADD_DEFAULT_DOMAIN
51 #define SW_RENDEZVOUS_BROWSE_REMOVE_DOMAIN	SW_DISCOVERY_BROWSE_REMOVE_DOMAIN
52 #define SW_RENDEZVOUS_BROWSE_ADD_SERVICE		SW_DISCOVERY_BROWSE_ADD_SERVICE
53 #define SW_RENDEZVOUS_BROWSE_REMOVE_SERVICE	SW_DISCOVERY_BROWSE_REMOVE_SERVICE
54 #define SW_RENDEZVOUS_BROWSE_RESOLVED			SW_DISCOVERY_BROWSE_RESOLVED
55 #define sw_rendezvous_publish_domain_handler	sw_discovery_publish_domain_handler
56 #define sw_rendezvous_publish_domain_reply	sw_discovery_publish_domain_reply
57 #define sw_rendezvous_publish_host_handler	sw_discovery_publish_host_handler
58 #define sw_rendezvous_publish_host_reply		sw_discovery_publish_host_reply
59 #define sw_rendezvous_publish_handler			sw_discovery_publish_handler
60 #define sw_rendezvous_publish_reply				sw_discovery_publish_reply
61 #define sw_rendezvous_browse_handler			sw_discovery_browse_handler
62 #define sw_rendezvous_browse_reply				sw_discovery_browse_reply
63 #define sw_rendezvous_resolve_handler			sw_discovery_resolve_handler
64 #define sw_rendezvous_resolve_reply				sw_discovery_resolve_reply
65 #define sw_rendezvous_init							sw_discovery_init
66 #define sw_rendezvous_fina							sw_discovery_fina
67 #define sw_rendezvous_publish_domain			sw_discovery_publish_domain
68 #define sw_rendezvous_stop_publish_domain		sw_discovery_stop_publish_domain
69 #define sw_rendezvous_publish_host				sw_discovery_publish_host
70 #define sw_rendezvous_stop_publish_host		sw_discovery_stop_publish_host
71 #define sw_rendezvous_publish						sw_discovery_publish
72 #define sw_rendezvous_publish_update			sw_discovery_publish_update
73 #define sw_rendezvous_stop_publish				sw_discovery_stop_publish
74 #define sw_rendezvous_browse_domains			sw_discovery_browse_domains
75 #define sw_rendezvous_stop_browse_domains		sw_discovery_stop_browse_domains
76 #define sw_rendezvous_browse_services			sw_discovery_browse
77 #define sw_rendezvous_stop_browse_services	sw_discovery_stop_browse
78 #define sw_rendezvous_resolve						sw_discovery_resolve
79 #define sw_rendezvous_stop_resolve				sw_discovery_stop_resolve
80 #define sw_rendezvous_run							sw_discovery_run
81 #define sw_rendezvous_stop_run					sw_discovery_stop_run
82 #define sw_rendezvous_socket						sw_discovery_socket
83 #define sw_rendezvous_read_socket				sw_discovery_read_socket
84 #define sw_rendezvous_salt							sw_discovery_salt
85 #define SW_RENDEZVOUS_E_BASE						SW_DISCOVERY_E_BASE
86 #define SW_RENDEZVOUS_E_UNKNOWN					SW_DISCOVERY_E_UNKNOWN
87 #define SW_RENDEZVOUS_E_NO_SUCH_NAME			SW_DISCOVERY_E_NO_SUCH_NAME
88 #define SW_RENDEZVOUS_E_NO_MEM					SW_DISCOVERY_E_NO_MEM
89 #define SW_RENDEZVOUS_E_BAD_PARAM				SW_DISCOVERY_E_BAD_PARAM
90 #define SW_RENDEZVOUS_E_BAD_REFERENCE			SW_DISCOVERY_E_BAD_REFERENCE
91 #define SW_RENDEZVOUS_E_BAD_STATE				SW_DISCOVERY_E_BAD_STATE
92 #define SW_RENDEZVOUS_E_BAD_FLAGS				SW_DISCOVERY_E_BAD_FLAGS
93 #define SW_RENDEZVOUS_E_NOT_SUPPORTED			SW_DISCOVERY_E_NOT_SUPPORTED
94 #define SW_RENDEZVOUS_E_NOT_INITIALIZED		SW_DISCOVERY_E_NOT_INITIALIZED
95 #define SW_RENDEZVOUS_E_NO_CACHE					SW_DISCOVERY_E_NO_CACHE
96 #define SW_RENDEZVOUS_E_ALREADY_REGISTERED	SW_DISCOVERY_E_ALREADY_REGISTERED
97 #define SW_RENDEZVOUS_E_NAME_CONFLICT			SW_DISCOVERY_E_NAME_CONFLICT
98 #define SW_RENDEZVOUS_E_INVALID					SW_DISCOVERY_E_INVALID
99 
100 
101 #endif
102