version 1.8, 1997/11/13 06:37:39
|
version 1.9, 1997/11/14 04:39:58
|
Line 1
|
Line 1
|
/* |
/* |
* rpmopen.c : open an extract informations from RPM files. |
* rpmopen.c : open an extract informations from RPM files. |
* |
* |
* $Id$ |
* Copyright (c) 1997 Daniel Veillard <Daniel.Veillard@w3.org> |
* |
* See COPYING for the status of this software. |
* $Log$ |
|
* Revision 1.8 1997/11/13 06:37:39 veillard |
|
* Added statistics, ByName, and generation of index.html, Daniel. |
|
* |
|
* Revision 1.7 1997/11/13 05:04:34 veillard |
|
* Lot of improvements, copyright, URLs, E-mail, and config files, Daniel. |
|
* |
|
* Revision 1.6 1997/11/12 07:06:53 veillard |
|
* Directory support and file scanning are now based on the config files, Daniel. |
|
* |
|
* Revision 1.5 1997/11/12 03:50:40 veillard |
|
* Version submitted to guilde@imag.fr, Daniel. |
|
* |
|
* Revision 1.4 1997/11/11 22:28:11 veillard |
|
* Added the support for dependancies on resources, Daniel. |
|
* |
|
* Revision 1.3 1997/11/11 21:18:53 veillard |
|
* Improved a lot, removed bugs related to sorting, Daniel. |
|
* |
|
* Revision 1.2 1997/11/11 11:10:11 veillard |
|
* State after one night of work, Daniel |
|
* |
|
* Revision 1.1.1.1 1997/11/11 07:12:32 veillard |
|
* First revision of RPM-Check |
|
* |
* |
|
* $Id$ |
*/ |
*/ |
|
|
|
#include <config.h> |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/stat.h> |
#include <sys/stat.h> |
|
#ifdef HAVE_FCNTL_H |
#include <fcntl.h> |
#include <fcntl.h> |
|
#endif |
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
|
#ifdef HAVE_UNISTD_H |
#include <unistd.h> |
#include <unistd.h> |
|
#endif |
#include <dirent.h> |
#include <dirent.h> |
|
|
#include <rpm/rpmlib.h> |
#include <rpm/rpmlib.h> |