/usr/include/aribb24/aribb24.h is in libaribb24-dev 1.0.3-1.
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | /*****************************************************************************
* aribb24.h : ARIB STD-B24 JIS 8bit character code decoder
*****************************************************************************
* Copyright (C) 2014 François Cartegnie
*
* Authors: François Cartegnie <fcvlcdev@free.fr>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef ARIBB24_MAIN_H
#define ARIBB24_MAIN_H 1
#include <stdbool.h>
/* If building or using aribb24 as a DLL, define ARIBB24_DLL.
*/
/* TODO: define ARIBB24_BUILD_DLL when building this library as DLL.
*/
#if defined _WIN32 || defined __CYGWIN__
#ifdef ARIBB24_DLL
#ifdef ARIBB24_BUILD_DLL
#ifdef __GNUC__
#define ARIB_API __attribute__ ((dllexport))
#else
#define ARIB_API __declspec(dllexport)
#endif
#else
#ifdef __GNUC__
#define ARIB_API __attribute__ ((dllimport))
#else
#define ARIB_API __declspec(dllimport)
#endif
#endif
#else
#if __GNUC__ >= 4
#define ARIB_API __attribute__ ((visibility ("default")))
#else
#define ARIB_API
#endif
#endif
#define DLL_LOCAL
#else
#if __GNUC__ >= 4
#define ARIB_API __attribute__ ((visibility ("default")))
#else
#define ARIB_API
#endif
#endif
typedef struct arib_instance_private_t arib_instance_private_t;
typedef struct arib_instance_t
{
bool b_generate_drcs;
bool b_use_private_conv;
bool b_replace_ellipsis;
arib_instance_private_t *p;
} arib_instance_t;
typedef struct arib_parser_t arib_parser_t;
typedef struct arib_decoder_t arib_decoder_t;
typedef void(* arib_messages_callback_t)(void *, const char *);
ARIB_API arib_instance_t * arib_instance_new( void * );
ARIB_API void arib_instance_destroy( arib_instance_t * );
ARIB_API void arib_set_base_path( arib_instance_t *, const char * );
ARIB_API arib_parser_t * arib_get_parser( arib_instance_t * );
ARIB_API arib_decoder_t * arib_get_decoder( arib_instance_t * );
ARIB_API void arib_register_messages_callback( arib_instance_t *,
arib_messages_callback_t );
#endif
|