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