OpenMPI  0.1.1
ompi_inet.h
1 /*
2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2005 The University of Tennessee and The University
6  * of Tennessee Research Foundation. All rights
7  * reserved.
8  * Copyright (c) 2004-2009 High Performance Computing Center Stuttgart,
9  * University of Stuttgart. All rights reserved.
10  * Copyright (c) 2004-2005 The Regents of the University of California.
11  * All rights reserved.
12  * $COPYRIGHT$
13  *
14  * Additional copyrights may follow
15  *
16  * $HEADER$
17  */
18 
19 #ifndef OMPI_INET_H
20 #define OMPI_INET_H
21 
22 #include "opal_config.h"
23 
24 #ifndef OMPI_WIN_COMPAT_H
25 #error This file is supposed to be included only from win_compat.h
26 #endif /* OMPI_WIN_COMPAT_H */
27 
28 BEGIN_C_DECLS
29 
30 OPAL_DECLSPEC int ompi_inet_pton(int af, const char *src, void *dst);
31 
32 OPAL_DECLSPEC const char *ompi_inet_ntop(int af, const void *src, char *dst, size_t size);
33 
34 END_C_DECLS
35 
36 #endif /* OMPI_INET_H */