gContentTypeGuess
Guesses the content type based on example data. If the function is
uncertain, result.uncertain
will be set to TRUE
. Either filename
or data
may be NULL
, in which case the guess will be based solely
on the other argument.
gContentTypeGuess(filename, data)
|
a string, or |
|
a stream of data, or |
A list containing the following elements:
retval |
[char] a string indicating a guessed content type for the given data. |
|
a flag indicating the certainty of the result |
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.