LibreOffice Module odk (master) 1
Macros | Functions | Variables
unx/unoapploader.c File Reference
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <dlfcn.h>
#include <cppuhelper/findsofficepath.h>
#include <rtl/string.h>
#include <sal/types.h>
Include dependency graph for unx/unoapploader.c:

Go to the source code of this file.

Macros

#define __USE_GNU
 

Functions

static char * getPath (void)
 
static char * createCommandName (char *argv0)
 
int main (int argc, char *argv[])
 

Variables

static const int SEPARATOR = '/'
 
static const char * PATHSEPARATOR = ":"
 

Macro Definition Documentation

◆ __USE_GNU

#define __USE_GNU

Definition at line 27 of file unx/unoapploader.c.

Function Documentation

◆ createCommandName()

char * createCommandName ( char *  argv0)
static

Definition at line 257 of file unx/unoapploader.c.

References createCommandName(), NULL, pos, and SEPARATOR.

Referenced by createCommandName(), and main().

◆ getPath()

char * getPath ( void  )
static

Definition at line 233 of file unx/unoapploader.c.

References cppuhelper_detail_findSofficePath(), and NULL.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 64 of file unx/unoapploader.c.

References createCommandName(), FILE, getPath(), m, n, NULL, p, PATHSEPARATOR, size, and value.

Variable Documentation

◆ PATHSEPARATOR

const char* PATHSEPARATOR = ":"
static

Definition at line 39 of file unx/unoapploader.c.

Referenced by main(), and wWinMain().

◆ SEPARATOR

const int SEPARATOR = '/'
static

Definition at line 38 of file unx/unoapploader.c.

Referenced by createCommandName().