/*
 
Certain API functions should be compiled as inline unless we
are in a LOW_MEMORY situation or we are compiling an API file that
makes them available for external modules. Depending on the
situation we need to generate one of these:

	extern inline HEADER BODY	in clients using the inline version
								!LOW_MEMORY && !AST_API_MODULE
								
	HEADER ;					in clients with low memory
								LOW_MEMORY && !AST_API_MODULE 
								
	HEADER BODY					in the API file
								other cases

The macro F(hdr, body) below is defined accordingly.

*/

#if		!defined(LOW_MEMORY)
#if			!defined(AST_API_MODULE)
#define			F(hdr, body)	extern inline hdr body
#else		/* defined(AST_API_MODULE) */
#define			F(hdr, body)	hdr body
#endif
#else	/* defined (LOW_MEMORY) */
#if			!defined(AST_API_MODULE)
#define			F(hdr, body)	hdr ;
#else 		/* defined(AST_API_MODULE)	*/
#define			F(hdr, body)	hdr body
#endif
#endif

F(
char *ast_skip_blanks(char *str)	,
{
        while (*str && *str < 33)
                str++;
        return str;
}
)

#undef AST_API_MODULE	/* to avoid mistakes */
