/* Pinos * Copyright (C) 2015 Wim Taymans * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. */ #ifndef __PINOS_H__ #define __PINOS_H__ extern const char g_log_domain_pinos[]; #include #include #include #include #include #include #include #include #include #include #define PINOS_DBUS_SERVICE "org.pinos" #define PINOS_DBUS_OBJECT_PREFIX "/org/pinos" #define PINOS_DBUS_OBJECT_SERVER PINOS_DBUS_OBJECT_PREFIX "/server" #define PINOS_DBUS_OBJECT_CLIENT PINOS_DBUS_OBJECT_PREFIX "/client" #define PINOS_DBUS_OBJECT_NODE PINOS_DBUS_OBJECT_PREFIX "/node" #define PINOS_DBUS_OBJECT_LINK PINOS_DBUS_OBJECT_PREFIX "/link" typedef enum { PINOS_ERROR_FAILED, PINOS_ERROR_FORMAT_NEGOTIATION, PINOS_ERROR_BUFFER_ALLOCATION, PINOS_ERROR_NODE_STATE, PINOS_ERROR_NODE_PORT, PINOS_ERROR_NODE_LINK, } PinosErrorEnum; GQuark pinos_error_quark (void); #define PINOS_ERROR pinos_error_quark() void pinos_init (int *argc, char **argv[]); gchar *pinos_client_name (void); void pinos_fill_context_properties (PinosProperties *properties); void pinos_fill_stream_properties (PinosProperties *properties); PinosDirection pinos_direction_reverse (PinosDirection direction); SpaIDMap * pinos_id_map_get_default (void); #endif /* __PINOS_H__ */