Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kvs.h add extern "C" wrapper #1225

Merged
merged 2 commits into from
Oct 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/common/libkvs/kvs.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _FLUX_CORE_KVS_H
#define _FLUX_CORE_KVS_H

#include <stdbool.h>
#include <stdint.h>
#include <flux/core.h>

#include "kvs_lookup.h"
Expand All @@ -12,6 +10,10 @@
#include "kvs_txn.h"
#include "kvs_commit.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Synchronization:
* Process A commits data, then gets the store version V and sends it to B.
* Process B waits for the store version to be >= V, then reads data.
Expand All @@ -26,6 +28,10 @@ int kvs_wait_version (flux_t *h, int version);
*/
int kvs_dropcache (flux_t *h);

#ifdef __cplusplus
}
#endif

#endif /* !_FLUX_CORE_KVS_H */

/*
Expand Down