Daemon or no daemon

Avi Alkalay avibrazil at gmail.com
Mon Apr 18 19:06:09 EEST 2005


On 4/18/05, Magnus Bergman <magnus.bergman at observer.net> wrote:
> 
> 
> The solution is to have the same API for communication with the daemon
> as for communication with the back-ends directly. This is simply done by
> using the same library. What the library does is to decide which
> back-ends to use and when. This functionality is used by both
> application and the daemon, so they link to the same library and use the
> same API. But only the daemon uses the library to call the back-ends
> which needs the daemon.
> 
> ,----------------------,
> | Daemon-link back-end |
> ,-------------, ,---------,/`----------------------'
> | Application |--| Library |
> `-------------' `---------'\,----------------------,
> | Some other back-ends |
> `----------------------'
> 
> ,--------, ,---------, ,------------------------------,
> | Daemon |--| Library |--| Back-ends needing the daemon |
> `--------' `---------' `------------------------------'


You can implement the backend access of Elektra as "backend access through 
daemon".
See http://elektra.sourceforge.net/elektra-api/html/group__backend.html#ga8

Avi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/xdg/attachments/20050418/85fe1fa4/attachment.htm 


More information about the xdg mailing list