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
8
Issues
8
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
522acb8e
Commit
522acb8e
authored
Jan 11, 2019
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better comments
parent
7fa89b6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
include/bake-client.h
include/bake-client.h
+17
-0
No files found.
include/bake-client.h
View file @
522acb8e
...
...
@@ -165,6 +165,11 @@ int bake_write(
* Writes data into a previously created BAKE region like bake_write(),
* except the write is performed on behalf of some remote entity.
*
* Note that by passing NULL as remote_addr, the server will assume
* that the hg_bulk_t sent comes from the caller of this function, which
* is a way to do a bake_write for a buffer for which an hg_bulk_t was
* already created.
*
* @param [in] provider provider handle
* @param [in] rid identifier for region
* @param [in] region_offset offset into the target region to write
...
...
@@ -218,6 +223,13 @@ int bake_create_write_persist(
bake_region_id_t
*
rid
);
/**
* Issues a bake_create_write_persist on behalf of a remote entity (remote_addr)
* that previously sent an hg_bulk_t.
*
* Note that by passing NULL as remote_addr, the server will assume
* that the hg_bulk_t sent comes from the caller of this function, which
* is a way to do a bake_create_write_persist for a buffer for which an
* hg_bulk_t was already created.
*
* @param [in] provider provider handle
* @param [in] bti BAKE target identifier
...
...
@@ -304,6 +316,11 @@ int bake_read(
* Reads data from a previously persisted BAKE region like bake_read(),
* except the read is performed on behalf of some remote entity.
*
* Note that by passing NULL as remote_addr, the server will assume
* that the hg_bulk_t sent comes from the caller of this function, which
* is a way to do a bake_read for a buffer for which an hg_bulk_t was
* already created.
*
* @param [in] provider provider handle
* @param [in] rid identifier for region
* @param [in] region_offset offset into the target region to write
...
...
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