librpm.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_TARGET_RPM_LIBRPM_H
00013 #define ZYPP_TARGET_RPM_LIBRPM_H
00014 
00015 #ifdef _RPM_5
00016 // needs to be outside 'extern "C"'
00017 #include <rpm/rpm4compat.h>
00018 #endif // _RPM_5
00019 
00020 extern "C"
00021 {
00022 #ifdef _RPM_5
00023 #include <rpm/rpmtag.h>
00024 #else
00025 #include <rpm/rpmlib.h>
00026 #endif // _RPM_5
00027 
00028 #include <rpm/rpmmacro.h>
00029 #include <rpm/rpmdb.h>
00030 #include <rpm/rpmts.h>
00031 #include <fcntl.h>
00032 }
00033 
00034 #endif // ZYPP_TARGET_RPM_LIBRPM_H

doxygen