Function

Giocontent_type_is_unknown

Declaration [src]

gboolean
g_content_type_is_unknown (
  const gchar* type
)

Description [src]

Checks if the content type is the generic “unknown” type. On UNIX this is the “application/octet-stream” mimetype, while on win32 it is “*” and on OSX it is a dynamic type or octet-stream.

Parameters

type const gchar*
 

A content type string.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE if the type is the unknown type.