Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
6d41a054
Commit
6d41a054
authored
10 years ago
by
Nathaniel Manista
Browse files
Options
Downloads
Patches
Plain Diff
Documentation tweaks in grpc.h.
parent
96e352c0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/grpc/grpc.h
+6
-5
6 additions, 5 deletions
include/grpc/grpc.h
with
6 additions
and
5 deletions
include/grpc/grpc.h
+
6
−
5
View file @
6d41a054
...
...
@@ -44,7 +44,7 @@
extern
"C"
{
#endif
/* Completion
Channel
s enable notification of the completion of asynchronous
/* Completion
Queue
s enable notification of the completion of asynchronous
actions. */
typedef
struct
grpc_completion_queue
grpc_completion_queue
;
...
...
@@ -156,7 +156,8 @@ typedef enum grpc_op_error {
struct
grpc_byte_buffer
;
typedef
struct
grpc_byte_buffer
grpc_byte_buffer
;
/* Sample helpers to obtain byte buffers (these will certainly move place */
/* Sample helpers to obtain byte buffers (these will certainly move
someplace else) */
grpc_byte_buffer
*
grpc_byte_buffer_create
(
gpr_slice
*
slices
,
size_t
nslices
);
grpc_byte_buffer
*
grpc_byte_buffer_copy
(
grpc_byte_buffer
*
bb
);
size_t
grpc_byte_buffer_length
(
grpc_byte_buffer
*
bb
);
...
...
@@ -340,12 +341,12 @@ typedef struct grpc_op {
/* Initialize the grpc library */
void
grpc_init
(
void
);
/* Shutdown the grpc library */
/* Shut
down the grpc library */
void
grpc_shutdown
(
void
);
grpc_completion_queue
*
grpc_completion_queue_create
(
void
);
/* Blocks until an event is available, the completion queue is being shutdown,
/* Blocks until an event is available, the completion queue is being shut
down,
or deadline is reached. Returns NULL on timeout, otherwise the event that
occurred. Callers should call grpc_event_finish once they have processed
the event.
...
...
@@ -365,7 +366,7 @@ grpc_event *grpc_completion_queue_next(grpc_completion_queue *cq,
grpc_event
*
grpc_completion_queue_pluck
(
grpc_completion_queue
*
cq
,
void
*
tag
,
gpr_timespec
deadline
);
/* Cleanup any data owned by the event */
/* Clean
up any data owned by the event */
void
grpc_event_finish
(
grpc_event
*
event
);
/* Begin destruction of a completion queue. Once all possible events are
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment