tizen 2.3.1 release
[external/buxton.git] / test / check_utils.h
1 /*
2  * This file is part of buxton.
3  *
4  * Copyright (C) 2013 Intel Corporation
5  *
6  * buxton is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as
8  * published by the Free Software Foundation; either version 2.1
9  * of the License, or (at your option) any later version.
10  */
11
12 /**
13  * \file check_utils.h Internal header
14  * This file is used internally by buxton to provide functionality
15  * used for testing
16  */
17
18 #pragma once
19
20 #ifdef HAVE_CONFIG_H
21         #include "config.h"
22 #endif
23
24 /**
25  * Set up a socket pair
26  * @param client Client socket file descriptor
27  * @param server Server socket file descriptor
28  */
29 void setup_socket_pair(int *client, int *server);
30
31 /*
32  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
33  *
34  * Local variables:
35  * c-basic-offset: 8
36  * tab-width: 8
37  * indent-tabs-mode: t
38  * End:
39  *
40  * vi: set shiftwidth=8 tabstop=8 noexpandtab:
41  * :indentSize=8:tabSize=8:noTabs=false:
42  */