aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/polling_entity.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-09-12 14:27:46 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2017-09-12 14:59:58 -0700
commit97dab51a3f356a1cb324c9d7e01ed12ba84e5ed4 (patch)
tree6bb10fc62533fcc0b09484c95c72842af92bd596 /src/core/lib/iomgr/polling_entity.h
parent090aca55bda549a1c80bae8f4770de330b88b4bd (diff)
Renaming pops_tag enum
Diffstat (limited to 'src/core/lib/iomgr/polling_entity.h')
-rw-r--r--src/core/lib/iomgr/polling_entity.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/polling_entity.h b/src/core/lib/iomgr/polling_entity.h
index 940f10f152..a161e1fea6 100644
--- a/src/core/lib/iomgr/polling_entity.h
+++ b/src/core/lib/iomgr/polling_entity.h
@@ -22,7 +22,11 @@
#include "src/core/lib/iomgr/pollset.h"
#include "src/core/lib/iomgr/pollset_set.h"
-typedef enum pops_tag { POPS_NONE, POPS_POLLSET, POPS_POLLSET_SET } pops_tag;
+typedef enum grpc_pollset_tag {
+ GRPC_POLLS_NONE,
+ GRPC_POLLS_POLLSET,
+ GRPC_POLLS_POLLSET_SET
+} grpc_pollset_tag;
/* A grpc_polling_entity is a pollset-or-pollset_set container. It allows
* functions that accept a pollset XOR a pollset_set to do so through an
@@ -33,7 +37,7 @@ typedef struct grpc_polling_entity {
grpc_pollset *pollset;
grpc_pollset_set *pollset_set;
} pollent;
- pops_tag tag;
+ grpc_pollset_tag tag;
} grpc_polling_entity;
grpc_polling_entity grpc_polling_entity_create_from_pollset_set(