summaryrefslogtreecommitdiff
path: root/server/sbus/sssd_dbus.h
AgeCommit message (Collapse)AuthorFilesLines
2008-12-15Modified sbus_server_new() to take a talloc memory context to useStephen Gallagher1-1/+2
as a parent for the new server context object.
2008-12-15Disconnected client SBUS connections would delete the master set of ↵Stephen Gallagher1-1/+2
sbus_method_ctx entries, meaning that the next connection to attempt to disconnect would receive a segmentation fault also trying to delete them. They are now talloc_reference()-ed to their connection context and talloc_unlink()-ed upon deletion. I have also modified the sbus_new_server() call to take a reference to an sbus_srv_ctx object as a return argument, so that the calling function can keep track of the SBUS server context if it so chooses.
2008-11-20Created a helper function sssd_service_sbus_init() to simplify creating the ↵Stephen Gallagher1-0/+2
initial connection to the monitor service within the child services. It will create the D-BUS connection to the monitor and configure the service to handle the mandatory getIdentity and ping methods.
2008-11-19Add method to get a connection's private dataSimo Sorce1-0/+1
Fix memory hierarchy, set the destructor on the server context so that it is called before any memory attached to it is freed. Before this change a talloc_free() on the event context would end in a double free and and an abort() inside talloc.
2008-11-17The default message handler will now pass both the method_ctx and theStephen Gallagher1-7/+11
sbus_conn_ctx to all message handling functions. This will allow connection-specific data to be passed in by taking advantage of the sbus_conn_set_private_data() function on the sbus_conn_ctx struct. Presently this private data is global to all methods of the connection context.
2008-11-04Add the ping funtion to the nss service Make the monitor task ping ↵Simo Sorce1-17/+21
connecting services Make it possible to configure timeouts and service ping times.
2008-11-03Renaming sssd/server/dbus to sssd/server/sbus. Making necessary changes to ↵Stephen Gallagher1-0/+86
header includes and makefiles.