FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
interface.h
1 /* **************************************************************
2 Copyright (C) 2010, 2011, 2012 Hewlett-Packard Development Company, L.P.
3 
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 version 2 as published by the Free Software Foundation.
7 
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 
13 You should have received a copy of the GNU General Public License along
14 with this program; if not, write to the Free Software Foundation, Inc.,
15 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 ************************************************************** */
17 
18 #ifndef INTERFACE_H_INCLUDE
19 #define INTERFACE_H_INCLUDE
20 
21 /* local includes */
22 #include <scheduler.h>
23 
24 /* glib include */
25 #include <glib.h>
26 
27 /* ************************************************************************** */
28 /* **** Constructor Destructor ********************************************** */
29 /* ************************************************************************** */
30 
31 void interface_init(scheduler_t* scheduler);
32 void interface_destroy(scheduler_t* scheduler);
33 
34 #endif /* INTERFACE_H_INCLUDE */
void interface_destroy(scheduler_t *scheduler)
Closes the server socket and thread pool that service UI connections.
Definition: interface.c:599
void interface_init(scheduler_t *scheduler)
Create the interface thread and thread pool that handle UI connections.
Definition: interface.c:565
Header file for the scheduler.