From 094535c010320967639e8e86f974d878e80baa72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 1 May 2015 16:13:57 +0200 Subject: Imported Upstream version 1.7.0 --- ccast/ccmdns.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ccast/ccmdns.h (limited to 'ccast/ccmdns.h') diff --git a/ccast/ccmdns.h b/ccast/ccmdns.h new file mode 100644 index 0000000..5144448 --- /dev/null +++ b/ccast/ccmdns.h @@ -0,0 +1,42 @@ +#ifndef CCMDNST_H + +/* + * Argyll Color Correction System + * ChromCast mDNS support + * + * Author: Graeme W. Gill + * Date: 28/8/2014 + * + * Copyright 2014 Graeme W. Gill + * All rights reserved. + * + * This material is licenced under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 :- + * see the License2.txt file for licencing details. + * + */ + +/* + * This class provides simple access to the Google ChromeCast + * for the purposes of generating Video Test patches. + */ + +/* A record of a Chromecast that may be accessed */ +struct _ccast_id { + char *name; /* Chromecast name */ + char *ip; /* IP address as string (ie. "10.0.0.128") */ +}; typedef struct _ccast_id ccast_id; + +/* Get a list of Chromecasts. Return NULL on error */ +/* Last pointer in array is NULL */ +/* Takes 0.5 second to return */ +ccast_id **get_ccids(void); + +/* Free up what get_ccids returned */ +void free_ccids(ccast_id **ids); + +void ccast_id_copy(ccast_id *dst, ccast_id *src); +ccast_id *ccast_id_clone(ccast_id *src); +void ccast_id_del(ccast_id *id); + +#define CCMDNST_H +#endif /* CCMDNST_H */ -- cgit v1.2.3