1/*
2 * $Id: uici.h,v 1.1 2009-06-30 02:31:09 steven Exp $
3 * Sockets Library
4 *
5 * ** NOTICE **
6 *
7 * This code is written by (and is therefore copyright) Dr Kay Robbins
8 * (krobbins@cs.utsa.edu) and Dr. Steve Robbins (srobbins@cs.utsa.edu),
9 * and was released with unspecified licensing as part of their book
10 * _UNIX_Systems_Programming_ (Prentice Hall, ISBN: 0130424110).
11 *
12 * Dr. Steve Robbins was kind enough to allow me to re-license this
13 * software as GPL.  I would request that any bugs or problems with
14 * this code be brought to my attention (ron@pedde.com), and I will
15 * submit appropriate patches upstream, should the problem be with
16 * the original code.
17 *
18 * ** NOTICE **
19 *
20 * This program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation; either version 2 of the License, or
23 * (at your option) any later version.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28 * GNU General Public License for more details.
29 *
30 * You should have received a copy of the GNU General Public License
31 * along with this program; if not, write to the Free Software
32 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
33 */
34
35
36/*********************************** uici.h **************************/
37/*   Prototypes for the three public UICI functions                  */
38/*********************************************************************/
39#define UPORT
40typedef unsigned short u_port_t;
41int u_open(u_port_t port);
42int u_accept(int fd, char *hostn, int hostnsize);
43int u_connect(u_port_t port, char *hostn);
44