Merge branch 'master' into develop
[jack2.git] / common / JackDriverLoader.h
blob1562f76e2854df4ff1ef21880162d7e9d42f51ea
1 /*
2 Copyright (C) 2001-2005 Paul Davis
3 Copyright (C) 2004-2008 Grame
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation; either version 2.1 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #ifndef __JackDriverLoader__
22 #define __JackDriverLoader__
24 #include "driver_interface.h"
25 #include "JackControlAPI.h"
26 #include "JackPlatformPlug.h"
28 jack_driver_desc_t* jack_find_driver_descriptor(JSList* drivers, const char* name);
29 JSList* jack_drivers_load(JSList* drivers);
30 JSList* jack_internals_load(JSList* internals);
31 void jack_free_driver_params(JSList * param_ptr);
32 void jack_print_driver_options(jack_driver_desc_t* desc, FILE* file);
34 // External control.h API
35 extern "C" SERVER_EXPORT int jackctl_driver_params_parse(jackctl_driver * driver, int argc, char* argv[]);
37 #endif