diff options
-rw-r--r-- | rpmio/rpmfileutil.h | 7 | ||||
-rw-r--r-- | rpmio/rpmkeyring.h | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/rpmio/rpmfileutil.h b/rpmio/rpmfileutil.h index 479fb6836..7f92cbc41 100644 --- a/rpmio/rpmfileutil.h +++ b/rpmio/rpmfileutil.h @@ -11,6 +11,10 @@ #include <rpm/rpmpgp.h> #include <rpm/argv.h> +#ifdef __cplusplus +extern "C" { +#endif + /** \ingroup rpmfileutil */ typedef enum rpmCompressedMagic_e { @@ -138,4 +142,7 @@ int rpmFileHasSuffix(const char *path, const char *suffix); */ char * rpmGetCwd(void); +#ifdef __cplusplus +} +#endif #endif /* _RPMFILEUTIL_H */ diff --git a/rpmio/rpmkeyring.h b/rpmio/rpmkeyring.h index 6ba476714..8b7c534bf 100644 --- a/rpmio/rpmkeyring.h +++ b/rpmio/rpmkeyring.h @@ -8,6 +8,10 @@ #include <rpm/rpmtypes.h> #include <rpm/rpmpgp.h> +#ifdef __cplusplus +extern "C" { +#endif + /** \ingroup rpmkeyring * Create a new, empty keyring * @return new keyring handle @@ -100,4 +104,7 @@ pgpDig rpmPubkeyDig(rpmPubkey key); */ char * rpmPubkeyBase64(rpmPubkey key); +#ifdef __cplusplus +} +#endif #endif /* _RPMKEYDB_H */ |