00001 /* libIntegra multimedia module definition interface 00002 * 00003 * Copyright (C) 2007 Jamie Bullock, Henrik Frisk 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 00018 * USA. 00019 */ 00020 00021 #ifndef INTEGRA_GLOBALS_H 00022 #define INTEGRA_GLOBALS_H 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00028 #ifdef HAVE_CONFIG_H 00029 # include <config.h> 00030 #endif 00031 00032 #include <pthread.h> 00033 00034 #include <Integra/integra_id.h> 00035 #include "memory.h" 00036 //#include "namespace.h" 00037 00038 #ifdef DEFINE_GLOBALS 00039 #define GLOBAL 00040 #else 00041 #define GLOBAL extern 00042 #endif 00043 00044 GLOBAL struct ntg_allocation_table_ allocation_table; 00045 //GLOBAL char *tag_list; 00046 00047 //GLOBAL int n_registered_clients; 00048 //GLOBAL struct ntg_client_ *registered_clients; 00049 GLOBAL struct ntg_instance_count_ *instance_counts; 00050 00051 GLOBAL struct ntg_namespace_ integra_namespace; 00052 00054 GLOBAL ntg_id ntg_id_counter; 00055 00056 GLOBAL struct ntg_server_ *__server__; 00057 00058 GLOBAL pthread_t xmlrpc_thread; 00059 #ifdef __cplusplus 00060 } 00061 #endif 00062 00063 #endif