diff options
Diffstat (limited to 'rest/rest-param.c')
-rw-r--r-- | rest/rest-param.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rest/rest-param.c b/rest/rest-param.c index 9ed3237..29b209e 100644 --- a/rest/rest-param.c +++ b/rest/rest-param.c @@ -237,6 +237,14 @@ rest_param_get_file_name (RestParam *param) return param->filename; } +/** + * rest_param_is_string: + * @param: a valid #RestParam + * + * Determine if the parameter is a string value, i.e. the content type is "text/plain". + * + * Returns: %TRUE if the parameter is a string, %FALSE otherwise. + */ gboolean rest_param_is_string (RestParam *param) { |