sudosrv_private.h revision dee665060ba71ff61ad223e755ae61441118fbba
fd5c4f905861964cb473cf3df3336447a9365962Stéphane Graber Pavel Březina <pbrezina@redhat.com>
16216c83297543692b8dede52c9dd8a998758e9cStéphane Graber Copyright (C) 2011 Red Hat
16216c83297543692b8dede52c9dd8a998758e9cStéphane Graber This program is free software; you can redistribute it and/or modify
16216c83297543692b8dede52c9dd8a998758e9cStéphane Graber it under the terms of the GNU General Public License as published by
16216c83297543692b8dede52c9dd8a998758e9cStéphane Graber the Free Software Foundation; either version 3 of the License, or
16216c83297543692b8dede52c9dd8a998758e9cStéphane Graber (at your option) any later version.
16216c83297543692b8dede52c9dd8a998758e9cStéphane Graber This program is distributed in the hope that it will be useful,
16216c83297543692b8dede52c9dd8a998758e9cStéphane Graber but WITHOUT ANY WARRANTY; without even the implied warranty of
afeecbba0359d2b4404cdf896e6b6d0b5a8443b0Serge Hallyn MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ae5c8b8ed5feb9a47c5007c986ce01ea39b5075fSerge Hallyn GNU General Public License for more details.
0115f8fd27b1a31d367bb161a121694f92b45e62Dwight Engen You should have received a copy of the GNU General Public License
f5dd1d532a76a1b57cf341db821eae85ea1118c5Serge Hallyn along with this program. If not, see <http://www.gnu.org/licenses/>.
592fd47a6245508b79fe6ac819fe6d3b2c1289beSerge Hallyn /* input data */
025f59ab98217b7e9caf6d3ac7e910853d95f621Serge Hallyn /* output data */
45794802f13e5db18b5d7acb45169e1f4e8b70b2Stéphane Graberstruct tevent_req *sudosrv_get_rules_send(TALLOC_CTX *mem_ctx,
90341b9e39561e37797777a34d0589c14c0c2a68Dwight Engenerrno_t sudosrv_get_rules_recv(TALLOC_CTX *mem_ctx,
45794802f13e5db18b5d7acb45169e1f4e8b70b2Stéphane Grabererrno_t sudosrv_parse_query(TALLOC_CTX *mem_ctx,
592fd47a6245508b79fe6ac819fe6d3b2c1289beSerge Hallynerrno_t sudosrv_build_response(TALLOC_CTX *mem_ctx,
bool fast_reply,
const char *name,
char **err_msg);