diff options
author | Justin Pettit <jpettit@nicira.com> | 2012-10-11 17:17:40 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2012-11-01 22:54:27 -0700 |
commit | 11a574a737fa506c8e66c7bd42fa3186e70c286f (patch) | |
tree | cf4a0efc8c205eba85a00ee5cfe88aeefc8ac1fb /ofproto/ofproto.h | |
parent | e8f2a2a2fa62fcab47f7f9691e2fd64690d9e950 (diff) |
ofproto: Add type "run", "run_fast", and "wait" provider methods.
Add the ability for ofproto providers to have top-level "run",
"run_fast", and "wait" methods, similar to the current ofproto ones.
There are no current users, but this will be useful in a future commit.
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Diffstat (limited to 'ofproto/ofproto.h')
-rw-r--r-- | ofproto/ofproto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index 96dde6a8..20335a2e 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -154,6 +154,10 @@ struct iface_hint { void ofproto_init(const struct shash *iface_hints); +int ofproto_type_run(const char *datapath_type); +int ofproto_type_run_fast(const char *datapath_type); +void ofproto_type_wait(const char *datapath_type); + int ofproto_create(const char *datapath, const char *datapath_type, struct ofproto **ofprotop); void ofproto_destroy(struct ofproto *); |