Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsJVMPluginTagInfo.cpp File Reference
#include "nsJVMPluginTagInfo.h"
#include "nsIPluginTagInfo2.h"
#include "plstr.h"
#include "nsCRT.h"

Go to the source code of this file.

Functions

static NS_DEFINE_IID (kIJVMPluginTagInfoIID, NS_IJVMPLUGINTAGINFO_IID)
static NS_DEFINE_IID (kIPluginTagInfo2IID, NS_IPLUGINTAGINFO2_IID)
static void oji_StandardizeCodeAttribute (char *buf)

Function Documentation

static NS_DEFINE_IID ( kIJVMPluginTagInfoIID  ,
NS_IJVMPLUGINTAGINFO_IID   
) [static]
static NS_DEFINE_IID ( kIPluginTagInfo2IID  ,
NS_IPLUGINTAGINFO2_IID   
) [static]
static void oji_StandardizeCodeAttribute ( char *  buf) [static]

Definition at line 91 of file nsJVMPluginTagInfo.cpp.

{
    // strip off the ".class" suffix
    char* cp;

    if ((cp = PL_strrstr(buf, ".class")) != NULL)
        *cp = '\0';

    // Convert '/' to '.'
    cp = buf;
    while ((*cp) != '\0') {
        if ((*cp) == '/')
            (*cp) = '.';

        ++cp;
    }
}

Here is the call graph for this function:

Here is the caller graph for this function: