X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=para.h;h=7217486d7965c93dfa0361c54982e6225aa06875;hb=0a7adba52fad8301b9c5daf263a56f630c35623f;hp=08eb0ee6c20ab1a7779cc3f10de2b5fca094f44b;hpb=4fc020328706c80e25c6138afb262a210560eeef;p=paraslash.git 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. */