X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fguestfs.h;h=b5ed0f787cf010880a214c461d0fef79d9efbc0c;hp=823fefe8601763d677b123ed5fe49968d2bd2d22;hb=f6e36bf361c587e0dbb2f0c71f5d22a7cf7f4f42;hpb=170f262f0413de843af62b968f6d12c1c476ae7f diff --git a/src/guestfs.h b/src/guestfs.h index 823fefe..b5ed0f7 100644 --- a/src/guestfs.h +++ b/src/guestfs.h @@ -26,6 +26,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + typedef struct guestfs_h guestfs_h; typedef struct guestfs_main_loop guestfs_main_loop; @@ -120,4 +124,8 @@ extern guestfs_main_loop *guestfs_get_default_main_loop (void); extern guestfs_main_loop *guestfs_create_main_loop (void); extern void guestfs_free_main_loop (guestfs_main_loop *); +#ifdef __cplusplus +} +#endif + #endif /* GUESTFS_H_ */