ekg2
Strona główna
Dodatkowe strony
Moduły
Struktury Danych
Pliki
Lista plików
Globalne
All
Struktury Danych
Pliki
Funkcje
Zmienne
Definicje typów
Wyliczenia
Wartości wyliczeń
Definicje
Grupay
Strony
ekg
net.h
Idź do dokumentacji tego pliku.
1
/* $Id: $ */
2
3
/*
4
* (C) Copyright XXX
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License Version 2 as
8
* published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
*/
19
20
#ifndef __EKG_NET_H
21
#define __EKG_NET_H
22
#ifndef EKG2_WIN32_NOFUNCTION
23
24
#include "
plugins.h
"
25
#include "
sessions.h
"
26
#include "
srv.h
"
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
#ifndef INADDR_NONE
33
# define INADDR_NONE (unsigned long) 0xffffffff
34
#endif
35
36
watch_t
*
ekg_resolver2
(
plugin_t
*
plugin
,
const
char
*server,
watcher_handler_func_t
async,
void
*data);
37
watch_t
*
ekg_resolver4
(
plugin_t
*
plugin
,
const
char
*server,
watcher_handler_func_t
async,
void
*data,
const
int
proto_port,
const
int
port,
const
int
proto);
38
39
watch_t
*
ekg_connect
(
session_t
*
session
,
const
char
*server,
const
int
proto_port,
const
int
port,
watcher_handler_func_t
async);
40
41
#ifdef __cplusplus
42
}
43
#endif
44
45
#endif
/* EKG2_WIN32_NOFUNCTION */
46
#endif
/* __EKG_NET_H */
47
48
/*
49
* Local Variables:
50
* mode: c
51
* c-file-style: "k&r"
52
* c-basic-offset: 8
53
* indent-tabs-mode: t
54
* End:
55
*/
Wygenerowano Pn, 15 lip 2013 08:05:25 dla ekg2 programem
1.8.4