Typedefs | |
| typedef void(* | DependentLibsCallback )(const char *aDependentLib) |
Functions | |
| NS_HIDDEN_ (GetFrozenFunctionsFunc) XPCOMGlueLoad(const char *xpcomFile) | |
| NS_HIDDEN_ (void) XPCOMGlueUnload() | |
| Parses a content-type header and returns the content type and charset (if any). | |
Variables | |
| DependentLibsCallback | cb |
| typedef void(* DependentLibsCallback)(const char *aDependentLib) |
| NS_HIDDEN_ | ( | GetFrozenFunctionsFunc | ) | const |
| NS_HIDDEN_ | ( | void | ) | [inline] |
Trim whitespace from the beginning and end of a string; then compress remaining runs of whitespace characters to a single space.
As above, but also returns the start and end indexes for the charset parameter in aHeaderStr.
aCharset is not modified if no charset is specified in anywhere in aHeaderStr. In that case (no charset specified), aHadCharset is set to false. Otherwise, it's set to true. Note that aContentCharset can be empty even if aHadCharset is true.
These are indices for the entire parameter, NOT just the value. If there is "effectively" no charset parameter (e.g. if an earlier type with one is overridden by a later type without one), *aHadCharset will be true but *aCharsetStart will be set to -1. Note that it's possible to have aContentCharset empty and *aHadCharset true when *aCharsetStart is nonnegative; this corresponds to charset="".
Trim whitespace from the beginning and end of a string; then compress remaining runs of whitespace characters to a single space.
Parses a content-type header and returns the content type and charset (if any).
Performs the LIKE comparison in sqlite.
| p | The sqlite_context that this function is being called on. | |
| aArgc | The number of arguments the function is being called with. | |
| aArgv | An array of the arguments the functions is being called with. |
As above, but also returns the start and end indexes for the charset parameter in aHeaderStr.
aCharset is not modified if no charset is specified in anywhere in aHeaderStr. In that case (no charset specified), aHadCharset is set to false. Otherwise, it's set to true. Note that aContentCharset can be empty even if aHadCharset is true.
These are indices for the entire parameter, NOT just the value. If there is "effectively" no charset parameter (e.g. if an earlier type with one is overridden by a later type without one), *aHadCharset will be true but *aCharsetStart will be set to -1. Note that it's possible to have aContentCharset empty and *aHadCharset true when *aCharsetStart is nonnegative; this corresponds to charset="".
Parses a content-type header and returns the content type and charset (if any).
Performs the LIKE comparison in sqlite.
| p | The sqlite_context that this function is being called on. | |
| aArgc | The number of arguments the function is being called with. | |
| aArgv | An array of the arguments the functions is being called with. |
1.5.6