]>
git.proxmox.com Git - mirror_ovs.git/blob - ovsdb/rbac.h
2 * Copyright (c) 2017 Red Hat, Inc.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #define OVSDB_RBAC_H 1
23 struct ovsdb_column_set
;
24 struct ovsdb_condition
;
25 struct ovsdb_mutation_set
;
29 bool ovsdb_rbac_insert(const struct ovsdb
*,
30 const struct ovsdb_table
*,
31 const struct ovsdb_row
*,
32 const char *role
, const char *id
);
33 bool ovsdb_rbac_delete(const struct ovsdb
*,
35 struct ovsdb_condition
*,
36 const char *role
, const char *id
);
37 bool ovsdb_rbac_update(const struct ovsdb
*,
39 struct ovsdb_column_set
*,
40 struct ovsdb_condition
*condition
,
41 const char *role
, const char *id
);
42 bool ovsdb_rbac_mutate(const struct ovsdb
*,
44 struct ovsdb_mutation_set
*,
45 struct ovsdb_condition
*,
46 const char *role
, const char *id
);
48 #endif /* ovsdb/rbac.h */