daemon: improve log
[ladish.git] / daemon / port.h
bloba013a1aa277c791d768c4923d421aafd5ef2a898
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*
3 * LADI Session Handler (ladish)
5 * Copyright (C) 2009 Nedko Arnaudov <nedko@arnaudov.name>
7 **************************************************************************
8 * This file contains the interface of the port objects
9 **************************************************************************
11 * LADI Session Handler is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * LADI Session Handler is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with LADI Session Handler. If not, see <http://www.gnu.org/licenses/>
23 * or write to the Free Software Foundation, Inc.,
24 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
27 #ifndef PORT_H__62F81E7C_91FA_44AB_94A9_E0E2D226ED58__INCLUDED
28 #define PORT_H__62F81E7C_91FA_44AB_94A9_E0E2D226ED58__INCLUDED
30 #include "dict.h"
32 typedef struct ladish_port_tag { int unused; } * ladish_port_handle;
34 bool ladish_port_create(uuid_t uuid_ptr, ladish_port_handle * port_handle_ptr);
35 void ladish_port_destroy(ladish_port_handle port_handle);
36 ladish_dict_handle ladish_port_get_dict(ladish_port_handle port_handle);
37 void ladish_port_get_uuid(ladish_port_handle port_handle, uuid_t uuid);
38 void ladish_port_set_jack_id(ladish_port_handle port_handle, uint64_t jack_id);
39 uint64_t ladish_port_get_jack_id(ladish_port_handle port_handle);
41 #endif /* #ifndef PORT_H__62F81E7C_91FA_44AB_94A9_E0E2D226ED58__INCLUDED */