Annotation of rpm2html/rpm2html.c, revision 1.2

1.1       veillard    1: /*
                      2:  * rpm2html.c : Application to generate an HTML view of an ensemble
                      3:  *              of RPM packages.
                      4:  *
1.2     ! veillard    5:  * $Id: rpm2html.c,v 1.1 1997/11/11 11:10:10 veillard Exp $
        !             6:  *
        !             7:  * $Log: rpm2html.c,v $
        !             8:  * Revision 1.1  1997/11/11 11:10:10  veillard
        !             9:  * State after one night of work, Daniel
1.1       veillard   10:  *
                     11:  *
                     12:  */
                     13: 
                     14: #include <sys/types.h>
                     15: #include <sys/stat.h>
                     16: #include <fcntl.h>
                     17: #include <stdio.h>
                     18: #include <stdlib.h>
                     19: #include <string.h>
                     20: #include <unistd.h>
                     21: 
                     22: #include "rpmdata.h"
                     23: #include "html.h"
                     24: 
                     25: 
                     26: int main(int argc, char *argv[]) {
                     27:     int i;
                     28: 
                     29:     if (argc < 2) {
                     30:         fprintf(stderr, "usage : %s rpm1 rpm2 ...\n", argv[0]);
                     31:        exit(0);
                     32:     }
                     33:     for (i = 1; i < argc ; i++) {
                     34:         rpmOpen(argv[i]);
                     35:     }
                     36:     dumpAllRpmHtml();
1.2     ! veillard   37:     rpmDistribSort();
        !            38:     dumpRpmDistribs();
1.1       veillard   39:     rpmGroupSort();
                     40:     dumpRpmGroups();
1.2     ! veillard   41:     rpmVendorSort();
        !            42:     dumpRpmVendors();
        !            43:     rpmDateSort();
        !            44:     dumpRpmByDate();
1.1       veillard   45: 
                     46:     return(0);
                     47: }
                     48: 

Webmaster