sudosrv_private.h revision 536dcc7fb975acfc126846a889d90332304e88ba
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce Pavel Březina <pbrezina@redhat.com>
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce Copyright (C) 2011 Red Hat
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce This program is free software; you can redistribute it and/or modify
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce it under the terms of the GNU General Public License as published by
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce the Free Software Foundation; either version 3 of the License, or
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce (at your option) any later version.
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce This program is distributed in the hope that it will be useful,
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce but WITHOUT ANY WARRANTY; without even the implied warranty of
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce GNU General Public License for more details.
287e76479d68db4134274d4a4fca5fe0fbc9a605Jan Cholasta You should have received a copy of the GNU General Public License
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce along with this program. If not, see <http://www.gnu.org/licenses/>.
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce /* input data */
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce /* output data */
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorceerrno_t sudosrv_cmd_done(struct sudo_cmd_ctx *cmd_ctx, int ret);
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorceerrno_t sudosrv_get_sudorules(struct sudo_dom_ctx *dctx);
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorceerrno_t sudosrv_get_rules(struct sudo_cmd_ctx *cmd_ctx);
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorcestruct tevent_req *sudosrv_parse_query_send(TALLOC_CTX *mem_ctx,
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorceerrno_t sudosrv_parse_query_recv(TALLOC_CTX *mem_ctx,
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorceerrno_t sudosrv_build_response(TALLOC_CTX *mem_ctx,
8a5931bcc8e9034e4beb92fc9addf3f7fcf83fd6Michal Zidek const char *name,
10eae23e2483733d4ca3c21f15b5bdb3f04c9839Simo Sorce#endif /* _SUDOSRV_PRIVATE_H_ */