Gets the content type this database translator supports.
PRUint32 GetSupportedContentTypes (char** aSupportedInContentTypes, char** aSupportedOutContentType, char** aPreferredInContentType, PRInt32 *aReturnCode)=0;
The method has the following parameters:
aSupportedInContentTypes |
A list of content-types that the server can send as input to translator. An array of null-terminated strings. |
aSupportedOutContentType |
The content type the plug-in converts data to. |
aPreferredInContentType |
The content type the plug-in would prefer to receive. It must be one of the supported content types passed in the first parameter. |
aReturnCode |
On return, contains a constant that determines whether the server should continue with the default authentication procedure. One of the following constants: NS_CONTINUE_DEFAULT_PROCESSING NS_OVERRIDE_DEFAULT_PROCESSING |
NS_OK on success. A non-zero on failure.
Get the content type this database translator supports.