Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
implement datatype comparison (mandatory for messaging module)
[simgrid.git] / include / transport.h
1 /* $Id$ */
2
3 /* trp (transport) - send/receive a bunch of bytes                          */
4
5 /* This file implements the public interface of this module, exported to the*/
6 /*  other modules of GRAS, but not to the end user.                         */
7
8 /* Authors: Martin Quinson                                                  */
9 /* Copyright (C) 2004 Martin Quinson.                                       */
10
11 /* This program is free software; you can redistribute it and/or modify it
12    under the terms of the license (GNU LGPL) which comes with this package. */
13
14 #ifndef GRAS_TRANSPORT_H
15 #define GRAS_TRANSPORT_H
16
17 /* each plugin implements the socket the way it wants */
18 typedef void gras_trp_sock_t;
19
20 /* A plugin type */
21 typedef struct gras_trp_plugin_ gras_trp_plugin_t;
22
23 /* Module, and get plugin by name */
24 gras_error_t gras_trp_init(void);
25
26 void         gras_trp_exit(void);
27
28 gras_error_t gras_trp_plugin_get_by_name(const char *name,
29                                          gras_trp_plugin_t **dst);
30
31
32
33 #endif /* GRAS_TRANSPORT_H */