- /* Access */
- vlc_bool_t b_local, b_file, b_http, b_mms, b_rtp, b_udp, b_dump;
- char *psz_file, *psz_http, *psz_mms, *psz_rtp, *psz_udp;
- int i_http, i_mms, i_rtp, i_udp;
+ DECMALLOC_NULL( p_chain, sout_chain_t );
+ memset( p_chain, 0, sizeof( sout_chain_t ) );
+ p_chain->i_options = 0;
+ return p_chain;
+}
+
+struct streaming_profile_t
+{
+ char *psz_title;
+ char *psz_description;
+ sout_chain_t *p_chain;
+};
+
+/** struct for holding account information needed to access the services */
+struct streaming_account_t
+{
+ char *psz_username; /*< username of account */
+ char *psz_password; /*< password of account */
+};
+
+/**************** GUI interaction *****************/
+/** struct to hold user interface information */
+struct sout_gui_descr_t
+{
+ /* Access types */
+ vlc_bool_t b_local; /*< local access module */
+ vlc_bool_t b_file; /*< file access module */
+ vlc_bool_t b_http; /*< http access module */
+ vlc_bool_t b_mms; /*< mms access module */
+ vlc_bool_t b_rtp; /*< rtp access module */
+ vlc_bool_t b_udp; /*< udp access module */
+ vlc_bool_t b_dump; /*< dump access module */
+ vlc_bool_t b_icecast; /*< icecast access module */
+
+ char *psz_file; /*< filename */
+ char *psz_http; /*< HTTP servername or ipaddress */
+ char *psz_mms; /*< MMS servername or ipaddress */
+ char *psz_rtp; /*< RTP servername or ipaddress */
+ char *psz_udp; /*< UDP servername or ipaddress */
+ char *psz_icecast; /*< Icecast servername or ipaddress*/
+
+ int32_t i_http; /*< http port number */
+ int32_t i_mms; /*< mms port number */
+ int32_t i_rtp; /*< rtp port number */
+ int32_t i_udp; /*< udp port number */
+ int32_t i_icecast; /*< icecast port number */