Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

gm_num_ports.c File Reference

#include "gm_compiler.h"
#include "gm_internal.h"

Functions

GM_ENTRY_POINT unsigned int gm_num_ports (gm_port_t *p)

Detailed Description

This file contains the GM API function gm_num_ports().


Function Documentation

GM_ENTRY_POINT unsigned int gm_num_ports gm_port_t *    p
 

gm_num_ports() returns the number of ports supported by this build. Note that this is a build-time value, and the 'p' parameter is actually meaningless at the present time.

This value is accessed through the function API to avoid hard-coding it in user applications, thus allowing dynamic library upgrades.

Return values:
GM_NUM_PORTS 
Parameters:
p  (IN) The GM port.
Author:
Glenn Brown
Version:
GM_API_VERSION (as defined in gm.h)


Generated on Mon Nov 3 15:39:26 2003 for GM by doxygen1.2.15