1 ///////////////////////////////////////////////////////////////////////////////
3 /// \file tuklib_progname.h
4 /// \brief Program name to be displayed in messages
6 // Author: Lasse Collin
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
11 ///////////////////////////////////////////////////////////////////////////////
13 #ifndef TUKLIB_PROGNAME_H
14 #define TUKLIB_PROGNAME_H
16 #include "tuklib_common.h"
21 #ifdef HAVE_PROGRAM_INVOCATION_NAME
22 # define progname program_invocation_name
24 # define progname TUKLIB_SYMBOL(tuklib_progname)
25 extern char *progname
;
28 #define tuklib_progname_init TUKLIB_SYMBOL(tuklib_progname_init)
29 extern void tuklib_progname_init(char **argv
);