1
1
Ralph Castain e96b5f486f Reorganize the opal interface code in opal/util/if.c per prior emails and telecon discussions. Move the interface discovery code into a framework so that configuration logic can separate it out (instead of the prior #if-#else confusion).
All interface APIs for accessing the info remain unchanged in opal/util/if.c.

This has been tested on Mac, Linux, and NetBSD. Nobody else seemed interested in testing it, so there may be some future problems revealed as people try it on other OSs.

This commit was SVN r23743.
2010-09-13 01:58:51 +00:00

34 строки
530 B
C

/*
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*
*/
#ifndef OPAL_IF_BASE_H
#define OPAL_IF_BASE_H
#include "opal_config.h"
#include "opal/mca/if/if.h"
/*
* Global functions for MCA overall if open and close
*/
BEGIN_C_DECLS
OPAL_DECLSPEC int opal_if_base_open(void);
OPAL_DECLSPEC int opal_if_base_close(void);
/*
* Globals
*/
OPAL_DECLSPEC extern opal_list_t opal_if_components;
END_C_DECLS
#endif /* OPAL_BASE_IF_H */