Annotation of rpm2html/rpm2html.h, revision 1.17

1.1       veillard    1: /*
                      2:  * rpm2html.h : general ressources about rpm2html
                      3:  *
1.6       veillard    4:  * Copyright (c) 1997 Daniel Veillard <veillard@apocalypse.org>
1.5       veillard    5:  * See COPYING for the status of this software.
1.1       veillard    6:  *
1.17    ! veillard    7:  * $Id: rpm2html.h,v 1.16 1998/02/03 00:33:28 veillard Exp $
1.1       veillard    8:  */
                      9: 
1.3       veillard   10: #ifndef __RPM2HTML_H__
                     11: #define __RPM2HTML_H__
1.1       veillard   12: 
1.3       veillard   13: /*
                     14:  * General setup default values overriden by config file.
                     15:  */
1.1       veillard   16: #define RPM2HTML_NAME  "rpm2html"
1.17    ! veillard   17: #define RPM2HTML_VER   "0.50"
1.1       veillard   18: #define RPM2HTML_URL    "http://rufus.w3.org/linux/rpm2html/"
                     19: #define RPM2HTML_MAINT "Daniel Veillard"
                     20: #define RPM2HTML_MAIL  "veillard@w3.org"
1.11      veillard   21: 
                     22: /*
                     23:  * Constants.
                     24:  */
                     25: 
                     26: #define MAX_COLOR_PER_LINE     4
1.13      veillard   27: #define MAX_TABLE_LENGHT       50
1.15      veillard   28: #define MAX_PAGE_LENGHT                250
1.14      veillard   29: #define PACKAGE_FIELD_WIDTH    250
                     30: #define DESCRIPTION_FIELD_WIDTH        450
                     31: #define SYSTEM_FIELD_WIDTH     75
1.1       veillard   32: 
1.8       veillard   33: /*
                     34:  * Unmodifiable variables.
                     35:  */
                     36: extern char *rpm2html_rpm2html_name;
                     37: extern char *rpm2html_rpm2html_ver;
                     38: extern char *rpm2html_rpm2html_url;
                     39: extern char *rpm2html_rpm2html_thishost;
1.1       veillard   40: 
1.3       veillard   41: /*
1.8       veillard   42:  * global variables.
1.3       veillard   43:  */
                     44: extern char *rpm2html_maint;
                     45: extern char *rpm2html_mail;
                     46: extern char *rpm2html_dir;
1.8       veillard   47: extern char *rpm2html_name;
                     48: extern char *rpm2html_url;
1.3       veillard   49: extern char *rpm2html_ftp;
1.8       veillard   50: extern char *rpm2html_ftpsrc;
                     51: extern char *rpm2html_host;
1.4       veillard   52: 
                     53: extern int   rpm2html_files;
                     54: extern int   rpm2html_size;
1.6       veillard   55: extern int   rpm2html_install_files;
                     56: extern int   rpm2html_install_size;
1.10      veillard   57: 
                     58: extern int   verbose;
1.16      veillard   59: extern int   force;
1.3       veillard   60: 
                     61: extern int readConfigFile(char *filename);
1.8       veillard   62: extern void reinitialize(void);
1.14      veillard   63: extern char *strdupHTML(const char *str);
1.3       veillard   64: 
                     65: #endif /* __RPM2HTML_H__ */

Webmaster