Changeset devel,68.1.1 for devel/conf.c

Show
Ignore:
Timestamp:
2005-12-08T13:41:53Z (5 years ago)
Author:
Jelmer Vernooij <jelmer@…>
branch-nick:
storage
revision id:
jelmer@samba.org-20051208134153-f3ce614312745152
Message:

Add abstraction layer for storage

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • devel/conf.c

    r11 r68.1.1  
    5050        conf->nofork = 0; 
    5151        conf->verbose = 0; 
     52        conf->storage = "text"; 
    5253        conf->runmode = RUNMODE_INETD; 
    5354        conf->authmode = AUTHMODE_OPEN; 
     
    198199                                conf->motdfile = g_strdup( ini->value ); 
    199200                        } 
     201                        else if( g_strcasecmp( ini->key, "storage" ) == 0 ) 
     202                        { 
     203                                g_free( conf->storage ); 
     204                                conf->storage = g_strdup( ini->value ); 
     205                        } 
    200206                        else if( g_strcasecmp( ini->key, "pinginterval" ) == 0 ) 
    201207                        {