mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-25 16:58:04 +02:00
* Quadrupled the length of strings in 'struct rd_cart' in the 'rivwebcapi' to accomodate UTF-8 characters.
112 lines
3.2 KiB
C
112 lines
3.2 KiB
C
/* rd_listlog.h
|
|
*
|
|
* Header for the ListCarts Rivendell Access Library
|
|
*
|
|
* (C) Copyright 2015 Todd Baker <bakert@rfa.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public
|
|
* License along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*/
|
|
|
|
#ifndef RD_LISTLOG_H
|
|
#define RD_LISTLOG_H
|
|
|
|
#include <rivwebcapi/rd_common.h>
|
|
|
|
_MYRIVLIB_INIT_DECL
|
|
|
|
struct rd_logline {
|
|
int logline_line;
|
|
int logline_id;
|
|
int logline_type;
|
|
int logline_cart_type;
|
|
unsigned logline_cart_number;
|
|
int logline_cut_number;
|
|
char logline_group_name[41];
|
|
char logline_group_color[10];
|
|
char logline_title[1021];
|
|
char logline_artist[1021];
|
|
char logline_album[1021];
|
|
int logline_year;
|
|
char logline_label[257];
|
|
char logline_client[257];
|
|
char logline_agency[257];
|
|
char logline_publisher[257];
|
|
char logline_composer[257];
|
|
char logline_conductor[257];
|
|
char logline_user_defined[1021];
|
|
int logline_usage_code;
|
|
int logline_enforce_length;
|
|
int logline_forced_length;
|
|
int logline_evergreen;
|
|
int logline_source;
|
|
int logline_time_type;
|
|
int logline_starttime;
|
|
int logline_transition_type;
|
|
int logline_cut_quantity;
|
|
int logline_last_cut_played;
|
|
char logline_marker_comment[1021];
|
|
char logline_marker_label[257];
|
|
char logline_origin_user[1021];
|
|
struct tm logline_origin_datetime;
|
|
int logline_start_point_cart;
|
|
int logline_start_point_log;
|
|
int logline_end_point_cart;
|
|
int logline_end_point_log;
|
|
int logline_segue_start_point_cart;
|
|
int logline_segue_start_point_log;
|
|
int logline_segue_end_point_cart;
|
|
int logline_segue_end_point_log;
|
|
int logline_segue_gain;
|
|
int logline_fadeup_point_cart;
|
|
int logline_fadeup_point_log;
|
|
int logline_fadeup_gain;
|
|
int logline_fadedown_point_cart;
|
|
int logline_fadedown_point_log;
|
|
int logline_fadedown_gain;
|
|
int logline_duckup_gain;
|
|
int logline_duckdown_gain;
|
|
int logline_talk_start_point;
|
|
int logline_talk_end_point;
|
|
int logline_hook_mode;
|
|
int logline_hook_start_point;
|
|
int logline_hook_end_point;
|
|
int logline_event_length;
|
|
char logline_link_event_name[65];
|
|
int logline_link_starttime;
|
|
int logline_link_start_slop;
|
|
int logline_link_end_slop;
|
|
int logline_link_id;
|
|
int logline_link_embedded;
|
|
int logline_ext_starttime;
|
|
int logline_ext_length;
|
|
char logline_ext_cart_name[129];
|
|
char logline_ext_data[129];
|
|
char logline_ext_event_id[129];
|
|
char logline_ext_annc_type[33];
|
|
};
|
|
|
|
int RD_ListLog(struct rd_logline *logline[],
|
|
const char hostname[],
|
|
const char username[],
|
|
const char passwd[],
|
|
const char ticket[],
|
|
const char logname[],
|
|
const char user_agent[],
|
|
unsigned *numrecs);
|
|
|
|
_MYRIVLIB_FINI_DECL
|
|
|
|
|
|
#endif // RD_LISTLOG_H
|