summaryrefslogtreecommitdiff
path: root/server/monitor.h
AgeCommit message (Collapse)AuthorFilesLines
2008-11-20Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce1-3/+3
To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
2008-11-03Use a common interface file for all users of the internalSimo Sorce1-7/+21
sbus service.
2008-10-27D-BUS integration style changes.Simo Sorce1-18/+3
Rework interfaces a bit to simplify and uniform function names so that they use a well defined namespace (sssd_*). Simplify headers file, split them into a private and a public one only. Make static all file private functions. Rename sssd_dbus_client.c to sssd_dbus_connection.c to reflect it's function, as it is is used by both a server and a client. Introduce a function table to know where to dipatch messages. Fix coding style issues, and start pointing out where clean-up fucntions are missing.
2008-10-24Integrate D-BUS support for use as IPC between parts.Stephen Gallagher1-0/+27
Integrates DBUS with the event system so that it is asynchronous.
2008-10-21Make return the pid when new process are started.Simo Sorce1-1/+3
Monitor each service and restart it conditionally if it fails. These monitoring is extremely simple at this moment and just uses waitpid() to check if the client is alive, there is no active probing, that will require dbus. Make nsssrv.c read the sss pipe config option for the config db.
2008-10-04Initital server code.Simo Sorce1-0/+1
Includes test monitor task.