X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=para.h;h=7217486d7965c93dfa0361c54982e6225aa06875;hp=08eb0ee6c20ab1a7779cc3f10de2b5fca094f44b;hb=5c78b78108bca6fc0ff883eb178fa5c15d226039;hpb=e9c51d24b1667b94101bf52fbd95aa7f1c6cb1d6 diff --git a/para.h b/para.h index 08eb0ee6..7217486d 100644 --- a/para.h +++ b/para.h @@ -67,22 +67,6 @@ va_end(argp); \ } -/** Version text used by various commands if -V switch was given. */ -#define VERSION_TEXT(prefix) "para_" prefix " " PACKAGE_VERSION \ - " (" GIT_VERSION ": " CODENAME ")" "\n" \ - "Copyright (C) 2011 Andre Noll\n" \ - "This is free software with ABSOLUTELY NO WARRANTY." \ - " See COPYING for details.\n" \ - "Written by Andre Noll.\n" \ - "Report bugs to .\n" - -/** Print out \p VERSION_TEXT and exit if version flag was given. */ -#define HANDLE_VERSION_FLAG(_prefix, _args_info_struct) \ - if (_args_info_struct.version_given) { \ - printf("%s", VERSION_TEXT(_prefix)); \ - exit(EXIT_SUCCESS); \ - } - /** Sent by para_client to initiate the authentication procedure. */ #define AUTH_REQUEST_MSG "auth rsa " /** Sent by para_server for commands that expect a data file. */