diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-01-26 16:01:26 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-01-27 11:44:12 -0500 |
commit | de38bb8f2f04dcefbbe4a998c9bd8532c844bcc0 (patch) | |
tree | 07302d5e1c9c5c19e2df77dd7c19bf998ae14ac5 /server/infopipe/sysbus.h | |
parent | 27ee5a204b8927adcc1e340b12d2edf1c70d9ba5 (diff) | |
download | sssd-de38bb8f2f04dcefbbe4a998c9bd8532c844bcc0.tar.gz sssd-de38bb8f2f04dcefbbe4a998c9bd8532c844bcc0.tar.xz sssd-de38bb8f2f04dcefbbe4a998c9bd8532c844bcc0.zip |
Preliminary support for enabling InfoPipe to listen on the D-BUS system bus. It will connect and authenticate successfully (using the included D-BUS policy file installed in the correct /etc directory. Does not yet listen for requests.
Diffstat (limited to 'server/infopipe/sysbus.h')
-rw-r--r-- | server/infopipe/sysbus.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/server/infopipe/sysbus.h b/server/infopipe/sysbus.h new file mode 100644 index 000000000..f47219b7a --- /dev/null +++ b/server/infopipe/sysbus.h @@ -0,0 +1,33 @@ +/* + SSSD + + SystemBus Helpers + + Copyright (C) Stephen Gallagher <sgallagh@redhat.com> 2009 + + 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/>. +*/ + +#ifndef SYSBUS_H_ +#define SYSBUS_H_ + +#define SYSBUS_GET_PARAM "getParam" + +struct sysbus_ctx; + +int sysbus_init(TALLOC_CTX *mem_ctx, struct sysbus_ctx **sysbus, struct sbus_method *methods); + +int sysbus_get_param(DBusMessage *message, void *data, DBusMessage **r); + +#endif /* SYSBUS_H_ */ |