/* but this will be needed */
#include "rpmspec.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \ingroup rpmbuild
* Bit(s) to control buildSpec() operation.
*/
#define STRIP_TRAILINGSPACE (1 << 0)
#define STRIP_COMMENTS (1 << 1)
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** \ingroup rpmbuild
* Destroy uid/gid caches.
*/
#include <magic.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int _rpmfc_debug;
/**
*/
typedef struct rpmfcTokens_s * rpmfcToken;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Return helper output.
* @param av helper argv (with possible macros)
* The rpmSpec and Package data structures used during build.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \ingroup rpmbuild
*/
typedef struct Package_s * Package;
Package next;
};
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** \ingroup rpmbuild
* Create and initialize rpmSpec structure.
* @return spec spec file control structure
#include "rpmlib.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* * A rollback transaction id element.
* */
*/
IDTX IDTXglob(rpmts ts, const char * globstr, rpmTag tag);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* H_RPMIDTX */
* Structures used for managing added/available package lists.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int _rpmal_debug;
/**
* */
typedef intptr_t rpmalNum;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Initialize available packckages, items, and directory list.
* @param delta no. of entries to add on each realloc
#include "argv.h"
#include "idtx.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \ingroup rpmcli
* Should version 3 packages be produced?
*/
extern int _noDirTokens;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** \ingroup rpmcli
* Popt option table for options shared by all modes and executables.
*/
#include "rpmps.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
*/
extern int _rpmds_debug;
};
#endif /* _RPMDS_INTERNAL */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Unreference a dependency set instance.
* @param ds dependency set
* Structure(s) used for file info tag sets.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int _rpmfi_debug;
#if defined(_RPMFI_INTERNAL)
#endif /* _RPMFI_INTERNAL */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Unreference a file info set instance.
* @param fi file info set
#include "rpmts.h"
#include "argv.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
*/
extern int _rpmgi_debug;
};
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Unreference a generalized iterator instance.
* @param gi generalized iterator
#include "header.h"
#include <popt.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Package read return codes.
*/
extern int rpmFLAGS;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** \ingroup rpmtrans
* The RPM Transaction Set.
* Transaction sets are inherently unordered! RPM may reorder transaction
* Structures and prototypes used for an "rpmps" problem set.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int _rpmps_debug;
/**
int nrefs; /*!< Reference count. */
};
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Return formatted string representation of a problem.
* @param prob rpm problem
#include "rpmal.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
*/
extern int _rpmte_debug;
#endif /* _RPMTE_INTERNAL */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Destroy a transaction element.
* @param te transaction element
#include "rpmps.h"
#include "rpmsw.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int _rpmts_debug;
extern int _rpmts_stats;
extern int _fps_debug;
};
#endif /* _RPMTS_INTERNAL */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** \ingroup rpmts
* Check that all dependencies can be resolved.
* @param ts transaction set
*
*/
-/**
- */
-typedef struct StringBufRec *StringBuf;
-
#ifdef __cplusplus
extern "C" {
#endif
/**
*/
+typedef struct StringBufRec *StringBuf;
+
+/**
+ */
StringBuf newStringBuf(void);
/**
* \file rpmio/argv.h
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef const char * ARGstr_t;
typedef ARGstr_t * ARGV_t;
};
typedef struct ARGI_s * ARGI_t;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Print argv array elements.
* @param msg output message prefix (or NULL)
#include "rpmlog.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define _em(_e) \
(((_e) << 16) | RPMLOG_MAKEPRI(RPMLOG_ERRMSG, RPMLOG_ERR))
#define _wm(_e) \
#define rpmErrorSetCallback(_cb) rpmlogSetCallback(_cb)
typedef rpmlogCallback rpmErrorCallBackType;
+#ifdef __cplusplus
+}
+#endif
#endif /* H_RPMERR */
#include <stdlib.h>
#include <unistd.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
*/
typedef struct pgpDig_s * pgpDig;
*/
typedef struct FDIO_s * FDIO_t;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** \ingroup rpmio
* \name RPMIO Vectors.
*/
#include <stdarg.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* RPM Log levels.
* priorities/facilities are encoded into a single 32-bit quantity, where the
const char * message;
} * rpmlogRec;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Return number of rpmError() ressages.
* @return number of messages
* \file rpmio/rpmmacro.h
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*! The structure used to store a macro. */
typedef struct rpmMacroEntry_s {
struct rpmMacroEntry_s *prev;/*!< Macro entry stack. */
#define RMIL_OLDSPEC -1
#define RMIL_GLOBAL 0
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Print macros to file stream.
* @param mc macro context (NULL uses global context).
#include "rpmlog.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define RPMMESS_DEBUG RPMLOG_DEBUG
#define RPMMESS_VERBOSE RPMLOG_INFO
#define RPMMESS_NORMAL RPMLOG_NOTICE
*/
typedef void * rpmCallbackData;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
*/
typedef void * (*rpmCallbackFunction)
#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#if !defined(_BEECRYPT_API_H)
typedef unsigned char byte;
#endif /* _BEECRYPT_API_H */
} rpmDigestFlags;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Return (native-endian) integer from big-endian representation.
* @param s pointer to big-endian integer
#include "rpmsw.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
*/
typedef struct rpmsig_s * rpmsig;
extern sigset_t rpmsqCaught;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Insert node into from queue.
* @param elem node to link
* \file rpmio/rpmsw.h
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \ingroup rpmio
*/
typedef unsigned long int rpmtime_t;
rpmtime_t usecs; /*!< Number of ticks. */
};
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** Return benchmark time stamp.
* @param *sw time stamp
* @return 0 on success
#include <assert.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Supported URL types.
*/
int magic;
};
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern int _url_debug; /*!< URL debugging? */
/**