Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
jarnav.c File Reference
#include "jar.h"
#include "jarint.h"

Go to the source code of this file.

Functions

MWContext * FE_GetInitContext (void)
void JAR_init (void)
int JAR_set_context (JAR *jar, MWContext *mw)

Variables

static MWContext *(* jar_fn_FindSomeContext )(void) = NULL
static MWContext *(* jar_fn_GetInitContext )(void) = NULL

Function Documentation

MWContext* FE_GetInitContext ( void  )

Definition at line 62 of file util.c.

{
    return 0;
}

Definition at line 68 of file jarnav.c.

Here is the call graph for this function:

int JAR_set_context ( JAR jar,
MWContext *  mw 
)

Definition at line 85 of file jarnav.c.

  {
  if (mw)
    {
    jar->mw = mw;
    }
  else
    {
    /* jar->mw = XP_FindSomeContext(); */
    jar->mw = NULL;

    /*
     * We can't find a context because we're in startup state and none
     * exist yet. go get an FE_InitContext that only works at initialization
     * time.
     */

    /* Turn on the mac when we get the FE_ function */
    if (jar->mw == NULL)
      {
      jar->mw = jar_fn_GetInitContext();
      }
   }

  return 0;
  }

Variable Documentation

MWContext*(* jar_fn_FindSomeContext)(void) = NULL [static]

Definition at line 56 of file jarnav.c.

MWContext*(* jar_fn_GetInitContext)(void) = NULL [static]

Definition at line 59 of file jarnav.c.