Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

modules_init.c

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005, 2006 by KoanLogic s.r.l. <http://www.koanlogic.com>
00003  * All rights reserved.
00004  *
00005  * This file is part of KLone, and as such it is subject to the license stated
00006  * in the LICENSE file which you have received as part of this distribution.
00007  *
00008  * $Id: modules_init.c,v 1.7 2006/01/09 12:38:38 tat Exp $
00009  */
00010 
00011 #include "klone_conf.h"
00012 #include <u/libu.h>
00013 #include <klone/session.h>
00014 #include <klone/context.h>
00015 
00016 /* this function will be called just after app initialization and before 
00017    running any "useful" code; add here your initialization function calls */
00018 int modules_init(void)
00019 {
00020     dbg_err_if (ctx == NULL);
00021 
00022     return 0;
00023 err:
00024     return ~0;
00025 }

←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved