Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bake
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
bake
Commits
cba9bc07
Commit
cba9bc07
authored
Dec 07, 2017
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
making the library usable with C++ programs
parent
2ce9cf1d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletion
+26
-1
include/bake-bulk-client.h
include/bake-bulk-client.h
+8
-0
include/bake-bulk-server.h
include/bake-bulk-server.h
+8
-0
include/bake-bulk.h
include/bake-bulk.h
+10
-1
No files found.
include/bake-bulk-client.h
View file @
cba9bc07
...
...
@@ -11,6 +11,10 @@
#include "margo.h"
#include "bake-bulk.h"
#ifdef __cplusplus
extern
"C"
{
#endif
/**
* Obtain identifying information for a bake target through the provided
* remote mercury address.
...
...
@@ -150,4 +154,8 @@ int bake_shutdown_service(bake_target_id_t bti);
int
bake_bulk_noop
(
bake_target_id_t
bti
);
#ifdef __cplusplus
}
#endif
#endif
/* __BAKE_BULK__CLIENT_H */
include/bake-bulk-server.h
View file @
cba9bc07
...
...
@@ -11,6 +11,10 @@
#include <libpmemobj.h>
#include "bake-bulk.h"
#ifdef __cplusplus
extern
"C"
{
#endif
struct
bake_bulk_root
{
bake_target_id_t
target_id
;
...
...
@@ -43,4 +47,8 @@ void bake_server_register(
*/
struct
bake_pool_info
*
bake_server_makepool
(
const
char
*
poolname
);
#ifdef __cplusplus
}
#endif
#endif
/* __BAKE_BULK_SERVER_H */
include/bake-bulk.h
View file @
cba9bc07
...
...
@@ -9,7 +9,11 @@
#include <uuid/uuid.h>
#include <stdint.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/**
* Persistent, universal, opaque identifier for a BAKE target.
* Remains constant if instance is opened, closed, or migrated.
...
...
@@ -233,6 +237,11 @@ bake_return_t bake_bulk_region_deprecate(
bake_return_t bake_bulk_gc(
bake_instance_t *target,
bake_request_t *req);
#endif
#ifdef __cplusplus
}
#endif
#endif
/* __BAKE_BULK_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment