1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * Copyright (c) 2002 Cray Inc.
6 * This file is part of Portals, http://www.sf.net/projects/sandiaportals/
11 typedef struct manager {
14 io_handler bound_handler;
15 int (*handler)(void *, void *);
21 typedef struct connection {
28 connection force_tcp_connection(manager m, unsigned int ip, unsigned int short);
29 manager init_connections(unsigned short, int (*f)(void *, void *), void *);
30 void remove_connection(void *arg);
31 void shutdown_connections(manager m);
32 int read_connection(connection c, unsigned char *dest, int len);