From f6b8e0eae4374f339487a33e3e4fe5462d5816e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 25 Nov 2017 10:16:00 +0100 Subject: New upstream version 2.0.0 --- ccast/ccmdns.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) mode change 100644 => 100755 ccast/ccmdns.h (limited to 'ccast/ccmdns.h') diff --git a/ccast/ccmdns.h b/ccast/ccmdns.h old mode 100644 new mode 100755 index 5144448..7a57808 --- a/ccast/ccmdns.h +++ b/ccast/ccmdns.h @@ -20,13 +20,26 @@ * for the purposes of generating Video Test patches. */ +/* Chrome cast type */ +typedef enum { + cctyp_unkn = 0, /* Unknown */ + cctyp_1, /* Chromecast 1 or General Video */ + cctyp_2, /* Chromecast 2 */ + cctyp_Audio, /* Chromecast Audio or General Audio */ + cctyp_Ultra, /* Chromecast Ultra */ + cctyp_Other /* Non Video/Audio output device */ +} cctype; + +/* Use cctype2str() to dump type */ + /* A record of a Chromecast that may be accessed */ struct _ccast_id { - char *name; /* Chromecast name */ + char *name; /* Chromecast friendly name */ char *ip; /* IP address as string (ie. "10.0.0.128") */ + cctype typ; /* Chromecast type (If known) */ }; typedef struct _ccast_id ccast_id; -/* Get a list of Chromecasts. Return NULL on error */ +/* Get a list of Video out capable Chromecasts. Return NULL on error */ /* Last pointer in array is NULL */ /* Takes 0.5 second to return */ ccast_id **get_ccids(void); -- cgit v1.2.3