Commit 4cb13ccc authored by Rémi Duraffort's avatar Rémi Duraffort

access_dvb: constify.

parent 6555b580
......@@ -240,12 +240,12 @@ void en50221_SendMMIObject( access_t * p_access, int i_slot,
en50221_mmi_object_t *p_object );
void en50221_End( access_t * );
char *dvbsi_to_utf8( char *psz_instring, size_t i_length );
char *dvbsi_to_utf8( const char *psz_instring, size_t i_length );
#ifdef ENABLE_HTTPD
int HTTPOpen( access_t *p_access );
void HTTPClose( access_t *p_access );
char *HTTPExtractValue( char *psz_uri, const char *psz_name,
char *HTTPExtractValue( const char *psz_uri, const char *psz_name,
char *psz_value, int i_value_max );
#endif
/*****************************************************************************
......
......@@ -2343,7 +2343,7 @@ static inline void *FixUTF8( char *p )
return p;
}
char *dvbsi_to_utf8( char *psz_instring, size_t i_length )
char *dvbsi_to_utf8( const char *psz_instring, size_t i_length )
{
const char *psz_encoding, *psz_stringstart;
char *psz_outstring, *psz_tmp;
......
......@@ -300,7 +300,7 @@ static int HttpCallback( httpd_file_sys_t *p_args,
/****************************************************************************
* HTTPExtractValue: Extract a GET variable from psz_request
****************************************************************************/
char *HTTPExtractValue( char *psz_uri, const char *psz_name,
char *HTTPExtractValue( const char *psz_uri, const char *psz_name,
char *psz_value, int i_value_max )
{
char *p = psz_uri;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment