GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CMX / V2-13-7 > cmx_interface / rhel6-64


Interface   Data Structures   File List   Data Fields   Globals  

CMX_interfaceShow.c File Reference

Various ways to show the contents of an interface definition file. More...

#include <stdio.h>
#include <CMX_interface_prv.h>

Functions

static unsigned int showInterface (void *status, struct _CMX_Hierarchy *hier, unsigned int depth)
 Prints the interface name for the given node in the hierarchy.
unsigned int CMX_interfaceShowGlobals (struct _CMX_Interface *head)
 Dump the global symbol list from an interface definition file.
unsigned int CMX_interfaceShowInterface (struct _CMX_Interface *head, unsigned int opts)
 Dump the interface instance list from an interface definition file.
unsigned int CMX_interfaceShowLookups (struct _CMX_Interface *head)
 Dump the CMX export symbol list from an interface definition file.


Detailed Description

Various ways to show the contents of an interface definition file.

CVS $Id: CMX_interfaceShow.c,v 1.5 2010/04/22 23:41:29 apw Exp $

Function Documentation

unsigned int CMX_interfaceShowGlobals ( struct _CMX_Interface head  ) 

Dump the global symbol list from an interface definition file.

Parameters:
head Control structure for one complete interface file.
Return values:
0 Success
1 Failure

References _CMX_Interface::isym, _CMX_Symbol::name, and _CMX_Symbol::next.

unsigned int CMX_interfaceShowInterface ( struct _CMX_Interface head,
unsigned int  opts 
)

Dump the interface instance list from an interface definition file.

Parameters:
head Control structure for one complete interface file.
opts Display options
Return values:
0 Success
1 Failure

References CMX_interfaceRecurse(), _CMX_Interface::hier, and showInterface().

unsigned int CMX_interfaceShowLookups ( struct _CMX_Interface head  ) 

Dump the CMX export symbol list from an interface definition file.

Parameters:
head Control structure for one complete interface file.
Return values:
0 Success
1 Failure

References _CMX_Interface::isym, _CMX_Symbol::name, _CMX_Symbol::next, and _CMX_Symbol::xprt.

static unsigned int showInterface ( void *  user,
struct _CMX_Hierarchy hier,
unsigned int  depth 
) [static]

Prints the interface name for the given node in the hierarchy.

Parameters:
user User options (bit fields)
hier Node in the hierarchy tree
depth Recursion depth
Return values:
0 Success (always)

References _CMX_Instance::global, _CMX_Hierarchy::inst, _CMX_Symbol::name, _CMX_Instance::name, _CMX_Symbol::next, and _CMX_Instance::patch.

Referenced by CMX_interfaceShowInterface().


Generated on Tue Nov 29 16:26:05 2011 by  doxygen 1.5.8