add winpcap 4.0.2 from url http://www.winpcap.org/
[natblaster.git] / src / peer / directconn_private.h
blob79bba32aac3198be53bebf0a51f2f30c5f2d46da
1 /*****************************************************************************
2 * Copyright 2005 Daniel Ferullo *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 *****************************************************************************/
18 /**
19 * @file directconn_private.h
20 * @author Daniel Ferullo (ferullo@cmu.edu)
22 * @brief prototypes for private direct connection functions
25 #ifndef __DIRECTCONN_PRIVATE_H__
26 #define __DIRECTCONN_PRIVATE_H__
28 /**
29 * @brief the entry point for the started thread that actually creates the
30 * direct connection
32 * @param arg the sole argument allowed in a pthread. Will be cast to a
33 * direct_conn_connect_arg_t pointer and freed a thread exit
35 * @return SUCCESS, errorcode on failure
37 void *run_direct_conn_connect(void *arg);
39 #endif /* __DIRECTCONN_PRIVATE_H__ */