X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fconnmgr.h;h=022435265cee77d38253b45aafa1e3b510a7025c;hb=db968317f3ab4c44dedd9a125333edaed1924de2;hp=58b1ae3fe3904c15a8543ef516f285d48207969d;hpb=7ee20df120d4d56df894abc00a60fe1bc43a058d;p=openvswitch diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h index 58b1ae3f..02243526 100644 --- a/ofproto/connmgr.h +++ b/ofproto/connmgr.h @@ -23,6 +23,7 @@ #include "openflow/nicira-ext.h" #include "openvswitch/types.h" +struct nlattr; struct ofconn; struct ofopgroup; struct ofputil_flow_removed; @@ -66,6 +67,7 @@ void connmgr_retry(struct connmgr *); /* OpenFlow configuration. */ bool connmgr_has_controllers(const struct connmgr *); void connmgr_get_controller_info(struct connmgr *, struct shash *); +void connmgr_free_controller_info(struct shash *); void connmgr_set_controllers(struct connmgr *, const struct ofproto_controller[], size_t n); void connmgr_reconnect(const struct connmgr *); @@ -97,7 +99,6 @@ void ofconn_send_error(const struct ofconn *, const struct ofp_header *request, int ofconn_pktbuf_retrieve(struct ofconn *, uint32_t id, struct ofpbuf **bufferp, uint16_t *in_port); -size_t ofconn_n_pending_opgroups(const struct ofconn *); bool ofconn_has_pending_opgroups(const struct ofconn *); void ofconn_add_opgroup(struct ofconn *, struct list *); void ofconn_remove_opgroup(struct ofconn *, struct list *,