/usr/include/alsaplayer/interface_plugin.h is in libalsaplayer-dev 0.99.81-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | /* interface_plugin.h
* Copyright (C) 2001-2002 Andy Lo A Foe <andy@alsaplayer.org>
*
* This file is part of AlsaPlayer.
*
* AlsaPlayer is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* AlsaPlayer 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*
* $Id: interface_plugin.h 1344 2010-11-07 20:38:05Z dominique_libre $
*
*/
#ifndef __interface_plugin_h__
#define __interface_plugin_h__
#include "CorePlayer.h"
#include "Playlist.h"
/*
* Format of version number is 0x1000 + version
* So 0x1001 is *binary* format version 1
* THE VERSION NUMBER IS *NOT* A USER SERVICABLE PART!
*/
#define INTERFACE_PLUGIN_BASE_VERSION 0x1000
#define INTERFACE_PLUGIN_VERSION (INTERFACE_PLUGIN_BASE_VERSION + 4)
typedef int interface_version_type;
typedef int(*interface_init_type)();
typedef int(*interface_start_type)(Playlist *, int, char **);
typedef int(*interface_running_type)();
typedef int(*interface_stop_type)();
typedef void(*interface_close_type)();
typedef struct _interface_plugin
{
interface_version_type version;
const char *name;
const char *author;
void *handle;
interface_init_type init;
interface_start_type start;
interface_running_type running;
interface_stop_type stop;
interface_close_type close;
} interface_plugin;
typedef interface_plugin*(*interface_plugin_info_type)();
#endif
|