/[dgee]/dgee/admin/adminmgr.c
ViewVC logotype

Diff of /dgee/admin/adminmgr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by csmith, Sun Jun 22 16:54:09 2003 UTC revision 1.2 by csmith, Sun Sep 21 11:07:41 2003 UTC
# Line 0  Line 1 
1    /*
2     * DotGNU Execution Environment Core
3     * (c)2003 netFluid Technology Ltd - http://www.nfluid.com
4     *
5     * Adminstration Manager
6     *
7     * This program is free software; you can redistribute it and/or modify
8     * it under the terms of the GNU General Public License as published by
9     * the Free Software Foundation; either version 2 of the License, or
10     * (at your option) any later version.
11     *
12     * This program is distributed in the hope that it will be useful,
13     * but WITHOUT ANY WARRANTY; without even the implied warranty of
14     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     * GNU General Public License for more details.
16     *
17     * You should have received a copy of the GNU General Public License
18     * along with this program; if not, write to the Free Software
19     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20     *
21     * $Revision$  $Date$
22     *
23     * --------------------------------------------------------------------------
24     */
25    
26    #include <gwtypes.h>
27    #include <gwapi.h>
28    
29    #include "dgreadenv.h"
30    #include "dbObject.h"
31    
32    /* ------------------------------------------------------------------------- */
33    
34    GWStatus
35    GWSRV_INIT( char *s_name, char *reserved )
36    {
37      char dbdir[128] = {0};
38    
39      if( dgee_read_gwenv() < 0 ) return GWFailure;
40    
41      /* Configure Database Root Dir
42       */
43      sprintf( dbdir, "%s", dgee_repository );
44      db_configure( dbdir );
45    
46      return GWSuccess;
47    }
48    
49    /* ------------------------------------------------------------------------- */
50    /* end */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26