1 /* Copyright (c) 2011 Nicira Networks
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
22 /* Abstract representation of an OVSDB client connection, not tied to any
23 * particular network protocol. Protocol implementations
24 * (e.g. jsonrpc-server.c) embed this in a larger data structure. */
25 struct ovsdb_session {
27 struct list completions; /* Completed triggers. */
30 void ovsdb_session_init(struct ovsdb_session *, struct ovsdb *);
31 void ovsdb_session_destroy(struct ovsdb_session *);
33 /* Abstract representation of an OVSDB server not tied to any particular
34 * network protocol. Protocol implementations (e.g. jsonrpc-server.c) embed
35 * this in a larger data structure. */
40 void ovsdb_server_init(struct ovsdb_server *, struct ovsdb *);
41 void ovsdb_server_destroy(struct ovsdb_server *);
43 #endif /* ovsdb/server.h */