6
* Desc: GGZ client<->server network connection (GGZ side)
7
* $Id: ggzcore-ggz.h 7889 2006-03-07 09:57:32Z josef $
9
* This file contains the GGZ-only interface for the ggzcore library. This
10
* library facilitates the communication between the GGZ server (ggzd)
11
* and GGZ client. The functions provided in this file are intended for use
14
* Copyright (C) 2005 GGZ Development Team.
16
* This library is free software; you can redistribute it and/or
17
* modify it under the terms of the GNU Lesser General Public
18
* License as published by the Free Software Foundation; either
19
* version 2.1 of the License, or (at your option) any later version.
21
* This library is distributed in the hope that it will be useful,
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24
* Lesser General Public License for more details.
26
* You should have received a copy of the GNU Lesser General Public
27
* License along with this library; if not, write to the Free Software
28
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32
#ifndef __GGZCORE_GGZ_H__
33
#define __GGZCORE_GGZ_H__
35
/* Returns the socket FD, or -1 */
36
int ggzcore_channel_connect(const char *host, unsigned int port,
39
#endif /* __GGZCORE_GGZ_H__ */