tool_vms.h
Go to the documentation of this file.
00001 #ifndef HEADER_CURL_TOOL_VMS_H
00002 #define HEADER_CURL_TOOL_VMS_H
00003 /***************************************************************************
00004  *                                  _   _ ____  _
00005  *  Project                     ___| | | |  _ \| |
00006  *                             / __| | | | |_) | |
00007  *                            | (__| |_| |  _ <| |___
00008  *                             \___|\___/|_| \_\_____|
00009  *
00010  * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
00011  *
00012  * This software is licensed as described in the file COPYING, which
00013  * you should have received as part of this distribution. The terms
00014  * are also available at https://curl.haxx.se/docs/copyright.html.
00015  *
00016  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
00017  * copies of the Software, and permit persons to whom the Software is
00018  * furnished to do so, under the terms of the COPYING file.
00019  *
00020  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
00021  * KIND, either express or implied.
00022  *
00023  ***************************************************************************/
00024 #include "tool_setup.h"
00025 
00026 #ifdef __VMS
00027 
00028 /*
00029  * Forward-declaration of global variable vms_show defined
00030  * in tool_main.c, used in main() as parameter for function
00031  * vms_special_exit() to allow proper curl tool exiting.
00032  */
00033 extern int vms_show;
00034 
00035 int is_vms_shell(void);
00036 void vms_special_exit(int code, int vms_show);
00037 
00038 #undef exit
00039 #define exit(__code) vms_special_exit((__code), (0))
00040 
00041 #define  VMS_STS(c,f,e,s) (((c&0xF)<<28)|((f&0xFFF)<<16)|((e&0x1FFF)<3)|(s&7))
00042 #define  VMSSTS_HIDE  VMS_STS(1,0,0,0)
00043 
00044 #endif /* __VMS */
00045 
00046 #endif /* HEADER_CURL_TOOL_VMS_H */
00047 


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:07