Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
move struct source_info from tvheadend.h to service.h
  • Loading branch information
perexg committed Jan 13, 2016
1 parent 84ad19a commit 5ed2055
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
13 changes: 13 additions & 0 deletions src/service.h
Expand Up @@ -35,6 +35,19 @@ struct channel;
struct tvh_input;
struct mpegts_apids;

/**
* Source information
*/
typedef struct source_info {
char *si_adapter;
char *si_network;
char *si_satpos;
char *si_mux;
char *si_provider;
char *si_service;
int si_type;
} source_info_t;

/**
* Stream, one media component for a service.
*/
Expand Down
1 change: 1 addition & 0 deletions src/streaming.h
Expand Up @@ -21,6 +21,7 @@

#include "packet.h"
#include "htsmsg.h"
#include "service.h"


typedef struct streaming_start_component {
Expand Down
11 changes: 0 additions & 11 deletions src/tvheadend.h
Expand Up @@ -96,17 +96,6 @@ extern int tvheadend_webui_port;
extern int tvheadend_webui_debug;
extern int tvheadend_htsp_port;

typedef struct source_info {
char *si_adapter;
char *si_network;
char *si_satpos;
char *si_mux;
char *si_provider;
char *si_service;
int si_type;
} source_info_t;


static inline void
lock_assert0(pthread_mutex_t *l, const char *file, int line)
{
Expand Down

0 comments on commit 5ed2055

Please sign in to comment.