|
|
1.1 ! root 1: #ifndef _GFC_MEM_DOT_H ! 2: #define _GFC_MEM_DOT_H ! 3: ! 4: /* ! 5: * GFC_MEM.H 5.20A June 8, 1995 ! 6: * ! 7: * The Greenleaf Comm Library ! 8: * ! 9: * Copyright (C) 1991-1995 Greenleaf Software Inc. All Rights Reserved. ! 10: * ! 11: * NOTES ! 12: * ! 13: * These declarations are used for internal memory allocation functions ! 14: * used in CommLib. The routines declared here and defined in ! 15: * gfc_mem.c can be replaced by the user with functions that return ! 16: * pointers to static memory areas. This is useful when you don't ! 17: * want to use the heap for some reason. Note that "normal" applications ! 18: * will never have to use these functions, and consequently will never ! 19: * have to include this header file. ! 20: * ! 21: * MODIFICATIONS ! 22: * ! 23: * December 12, 1992 4.00A : Initial release ! 24: */ ! 25: ! 26: #ifndef GF_HEAP_DEBUGGER ! 27: ! 28: void * GF_CONV AllocateGreenleafPortStructure( int port, int size ); ! 29: void GF_CONV FreeGreenleafPortStructure( int port, void *p ); ! 30: void * GF_CONV AllocateGenericStructure( int size ); ! 31: void GF_CONV FreeGenericStructure( void *p ); ! 32: void * GF_CONV AllocateDriverStructure( int size ); ! 33: void GF_CONV FreeDriverStructure( void *p ); ! 34: void * GF_CONV AllocateRXBuffer( int port, unsigned int size ); ! 35: void * GF_CONV AllocateTXBuffer( int port, unsigned int size ); ! 36: void GF_CONV FreeTXBuffer( int port, void *p ); ! 37: void GF_CONV FreeRXBuffer( int port, void *p ); ! 38: void * GF_CONV AllocateXferBuffer( unsigned int size ); ! 39: void GF_CONV FreeXferBuffer( void *p ); ! 40: ! 41: #endif /* #ifndef GF_HEAP_DEBUGGER */ ! 42: ! 43: #endif /* #ifndef _GFC_MEM_DOT_H*/ ! 44:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.