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
f40097b6
Commit
f40097b6
authored
8 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Plain Diff
Merge pull request #6721 from vjpai/cleanup
Remove some unused enums/structs
parents
19ae7bdb
3b4b50bf
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
src/core/lib/surface/call.c
+0
-25
0 additions, 25 deletions
src/core/lib/surface/call.c
with
0 additions
and
25 deletions
src/core/lib/surface/call.c
+
0
−
25
View file @
f40097b6
...
...
@@ -65,12 +65,6 @@
- status/close recv (depending on client/server) */
#define MAX_CONCURRENT_BATCHES 6
typedef
struct
{
grpc_ioreq_completion_func
on_complete
;
void
*
user_data
;
int
success
;
}
completed_request
;
#define MAX_SEND_EXTRA_METADATA_COUNT 3
/* Status data for a request can come from several sources; this
...
...
@@ -97,25 +91,6 @@ typedef struct {
grpc_mdstr
*
details
;
}
received_status
;
/* How far through the GRPC stream have we read? */
typedef
enum
{
/* We are still waiting for initial metadata to complete */
READ_STATE_INITIAL
=
0
,
/* We have gotten initial metadata, and are reading either
messages or trailing metadata */
READ_STATE_GOT_INITIAL_METADATA
,
/* The stream is closed for reading */
READ_STATE_READ_CLOSED
,
/* The stream is closed for reading & writing */
READ_STATE_STREAM_CLOSED
}
read_state
;
typedef
enum
{
WRITE_STATE_INITIAL
=
0
,
WRITE_STATE_STARTED
,
WRITE_STATE_WRITE_CLOSED
}
write_state
;
typedef
struct
batch_control
{
grpc_call
*
call
;
grpc_cq_completion
cq_completion
;
...
...
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