libdebian-installer
Functions
Di_utils

Functions

void di_init (const char *progname)
 
const char * di_progname_get (void)
 

Detailed Description

Function Documentation

void di_init ( const char *  progname)

Inits the lib

Parameters
prognamename of the called binary

Referenced by di_system_init().

29 {
30  progname = strdup (_progname);
31 }
const char* di_progname_get ( void  )

Get the name of the called binary

Returns
name
34 {
35  return progname;
36 }