diff options
author | Arun Scaria <arunscaria91@gmail.com> | 2011-08-16 20:47:17 +0530 |
---|---|---|
committer | Arun Scaria <arunscaria91@gmail.com> | 2011-08-16 20:47:17 +0530 |
commit | 1ceb369fc0ea5ae99cc68e649069ae49054288f1 (patch) | |
tree | d78b7509e2a803116757560bfb05949d80411b70 /src/responder/sudo/sudosrv.h~ | |
parent | 7c9d4fb2e9df392f84893eb064c5c6c7af31e7ce (diff) | |
download | sssd_unused-1ceb369fc0ea5ae99cc68e649069ae49054288f1.tar.gz sssd_unused-1ceb369fc0ea5ae99cc68e649069ae49054288f1.tar.xz sssd_unused-1ceb369fc0ea5ae99cc68e649069ae49054288f1.zip |
Added host elimination and indentation improvised
Diffstat (limited to 'src/responder/sudo/sudosrv.h~')
-rw-r--r-- | src/responder/sudo/sudosrv.h~ | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/responder/sudo/sudosrv.h~ b/src/responder/sudo/sudosrv.h~ deleted file mode 100644 index 0b933ea4..00000000 --- a/src/responder/sudo/sudosrv.h~ +++ /dev/null @@ -1,59 +0,0 @@ -/* - SSSD - - SUDO Responder - - Copyright (C) Arun Scaria <arunscaria91@gmail.com> (2011) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - - -#define CONFDB_SUDO_CONF_ENTRY "config/sudo" - -#define SUDO_INTERFACE "org.freedesktop.sssd.sudo" -#define SUDO_PATH "/org/freedesktop/sssd/sudo" -#define SUDO_METHOD_QUERY "queryService" - -static int sudo_query_validation(DBusMessage *message, struct sbus_connection *conn); -struct sbus_method sudo_methods[] = { - - { SUDO_METHOD_QUERY, sudo_query_validation }, - { NULL, NULL } -}; - -struct sbus_interface sudo_interface = { - SUDO_INTERFACE, - SUDO_PATH, - SBUS_DEFAULT_VTABLE, - sudo_methods, - NULL -}; - -struct sudo_ctx { - struct tevent_context *ev; - struct confdb_ctx *cdb; - - struct sbus_connection *mon_conn; - struct sbus_connection *sbus_srv; - - size_t check_online_ref_count; -}; - -struct sudo_client { - struct sudo_ctx *sudoctx; - struct sbus_connection *conn; - struct tevent_timer *timeout; - bool initialized; -};
\ No newline at end of file |