123
html.h
- Committer:
- superphil06
- Date:
- 2015-08-11
- Revision:
- 0:539b0fc9d536
- Child:
- 1:ba608856b208
File content as of revision 0:539b0fc9d536:
/**************************************************************************** * * (C) 2000 by BECK IPC GmbH * * BECK IPC GmbH * Garbenheimerstr. 38 * D-35578 Wetzlar * * Phone : (49)-6441-905-240 * Fax : (49)-6441-905-245 * * --------------------------------------------------------------------------- * Module : HTML.H * Function : contains prototypes and definitions for html.c * * Author : Stoidner * Date : 30.08.00 * Version : V1.00 * --------------------------------------------------------------------------- * History : * * Vx.yy Author Changes * * V1.00 cs Create **************************************************************/ #ifndef _HTML_H_ #define _HTML_H_ //************* //* definitions #define CMD_HTML_SIGN '^' /* Command sign which significates a command start in the HTML code */ #define FILL_STR( str, length ) while ( strlen(str) < length ) strcat(str, " ") /* useful macro to fill a string to a specified length with NULL Chars */ //****************** //* type definitions typedef struct { // int pos; // pos of the VarDef relativ to the Page beginning char *ptr; // pointer to beginning of VarDef definition int length; // length of the variable field } var_field_t; typedef var_field_t *vf_ptr; //************ //* prototypes char *Gen_HtmlCode_From_File( char *Path, var_field_t *var_field, int max_vardef ); char *load_HtmlCode_From_File( char *Path,long * size); void Html_Patch ( var_field_t *pTab_Balise,int index, char * pChaine ) ; #endif