/home/builder1/maemo-fremantle-armel-extras-devel/work/applauncherd-3.0.3/src/launcher/launcher.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <dlfcn.h>
#include <string.h>
#include <malloc.h>
#include "preload.h"

Go to the source code of this file.

Typedefs

typedef int(* entry_t )(int, char **)

Functions

static void loadLibraries (const char *const libs[], unsigned int numLibs)
 Load libraries from the given array.
static int invokeLauncherLib (int argc, char **argv)
int main (int argc, char **argv)
 Entry point.

Variables

int g_debugPrinting


Typedef Documentation

typedef int(* entry_t)(int, char **)

Definition at line 28 of file launcher.c.


Function Documentation

static int invokeLauncherLib ( int  argc,
char **  argv 
) [static]

Invoke launcher daemon library and run main()

Note that argv must have enough dummy space so that the argument vector can be altered afterwards.

See e.g. Booster::renameProcess(int parentArgc, char** parentArgv) in launcherlib/booster.cpp

Definition at line 89 of file launcher.c.

static void loadLibraries ( const char *const   libs[],
unsigned int  numLibs 
) [static]

Load libraries from the given array.

Definition at line 33 of file launcher.c.

References g_debugPrinting.

int main ( int  argc,
char **  argv 
)

Entry point.

Definition at line 128 of file launcher.c.

References g_debugPrinting, gLibs, invokeLauncherLib(), and loadLibraries().


Variable Documentation

Definition at line 30 of file launcher.c.


Generated on Tue Jul 22 11:56:25 2014 for applauncherd by  doxygen 1.5.6