#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 int(* entry_t)(int, char **) |
Definition at line 28 of file launcher.c.
| 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().
| int g_debugPrinting |
Definition at line 30 of file launcher.c.
1.5.6