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_PORT_H 00022 #define INTEGRA_PORT_H 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00028 00029 #include <Integra/integra_id.h> 00030 #include <Integra/integra_value.h> 00031 #include <Integra/integra_error.h> 00032 00034 typedef struct ntg_port_ { 00035 00036 ntg_id module_id; 00037 char *attribute_name; 00038 00039 } ntg_port; 00040 00041 ntg_port *ntg_port_new(void); 00042 ntg_error_code ntg_port_free(ntg_port *port); 00043 00044 ntg_error_code ntg_port_disconnect(ntg_port *target, ntg_port *source, 00045 void *bridge); 00046 00047 #ifdef __cplusplus 00048 } 00049 #endif 00050 00051 #endif