blob: ae18f3acecc24f6480918648bf4eb82f34ba6a30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef CAPSO_H
#define CAPSO_H
/*
* bind80 returns a socket filedescriptor that is bound to port 80 of
* the provided service address.
*
* Example:
*
* int fd = bind80("localhost");
*
* fd < 0 in the case of error.
*/
extern int bind80(const char *hostname);
#endif /* ndef CAPSO_H */
|