/services/fconf/service.c
http://ftk.googlecode.com/ · C · 47 lines · 14 code · 4 blank · 29 comment · 2 complexity · db35d287349d5eca102651b404626451 MD5 · raw file
- /*
- * File: service.c
- * Author: Li XianJing <xianjimli@hotmail.com>
- * Brief: fconf service main.
- *
- * Copyright (c) 2009 - 2010 Li XianJing <xianjimli@hotmail.com>
- *
- * Licensed under the Academic Free License version 2.1
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
- /*
- * History:
- * ================================================================
- * 2010-08-01 Li XianJing <xianjimli@hotmail.com> created
- *
- */
- #include "fconf_service.h"
- int main(int argc, char* argv[])
- {
- fbus_service_init(argc, argv);
-
- if(fconf_service_create() != NULL)
- {
- fbus_service_run();
- }
- else
- {
- ftk_loge("Create service echo failed.\n");
- }
- return 0;
- }