X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fpoolid.h;h=2363595569afcd233facceea5b19a6540656e7cc;hb=a52836206e91b14de83ffa1f9cce7194066f314f;hp=d8cd65864ea9a6f121355b85bf150c5de4483ae3;hpb=e4fc68e6c77195a5f4c0024d7fe1190de8ad6600;p=platform%2Fupstream%2Flibsolv.git diff --git a/src/poolid.h b/src/poolid.h index d8cd658..2363595 100644 --- a/src/poolid.h +++ b/src/poolid.h @@ -7,7 +7,7 @@ /* * poolid.h - * + * */ #ifndef LIBSOLV_POOLID_H @@ -16,14 +16,18 @@ #include "pooltypes.h" #include "hash.h" +#ifdef __cplusplus +extern "C" { +#endif + /*----------------------------------------------- * Ids with relation */ typedef struct _Reldep { - Id name; // "package" - Id evr; // "0:42-3" - int flags; // operation/relation, see REL_x in pool.h + Id name; /* "package" */ + Id evr; /* "0:42-3" */ + int flags; /* operation/relation, see REL_x in pool.h */ } Reldep; extern Id pool_str2id(Pool *pool, const char *, int); @@ -38,4 +42,8 @@ extern void pool_shrink_strings(Pool *pool); extern void pool_shrink_rels(Pool *pool); extern void pool_freeidhashes(Pool *pool); +#ifdef __cplusplus +} +#endif + #endif /* LIBSOLV_POOLID_H */