[lkml]   [1996]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: An idea: a database of modules settings
On Sun, 5 May 1996, Eyal Lebedinsky wrote:

> How about a standard API where a module can save/restore any number of
> settings between sessions. The module will simply call somethings like
> save_settings (int id, void *buffer, in size)
> where the id allows a module to save multiple buffers. The info will be
> saved and later the module (when loaded) can request the settings with a
> similar 'get_settings' call.
This looks like the right way to implement persistent data for drivers.
However I prefer using a string ad the 'id'. In this way less
administrative work is required to prevent conflicts between drivers/modules.

Hannu Savolainen (, (my home page) (UNIX Sound System (USS)) (USS Lite/TASD/VoxWare)

 \ /
  Last update: 2005-03-22 13:37    [W:0.045 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site