/usr/include/dcmtk/dcmdata/cmdlnarg.h is in libdcmtk-dev 3.6.1~20160216-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | /*
*
* Copyright (C) 1994-2012, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmdata
*
* Author: Andrew Hewett
*
* Purpose: Provide prototype of command line argument gathering routine
* for OS environments which cannot pass arguments on the command line.
*
*/
#ifndef CMDLNARG_H
#define CMDLNARG_H
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/dcmdata/dcdefine.h"
/** this function is used on certain operating systems (in particular, classic MacOS)
* and allows command line arguments to be input from stdin.
* MT level: Thread unsafe!
* @param argc the argc parameter of main() is passed in this parameter
* @param argv the argv parameter of main() is passed in this parameter
* @param progname program name
*/
DCMTK_DCMDATA_EXPORT void prepareCmdLineArgs(int& argc, char** argv, const char* progname = "aProgram");
#ifdef HAVE_WINDOWS_H
/** this function is used on certain operating systems (in particular, classic MacOS)
* and allows command line arguments to be input from stdin.
* MT level: Thread unsafe!
* This is a Windows-specific version supporting the wide character encoding (UTF-16).
* @param argc the argc parameter of main() is passed in this parameter (not used)
* @param argv the argv parameter of main() is passed in this parameter (not used)
* @param progname program name (not used)
*/
DCMTK_DCMDATA_EXPORT void prepareCmdLineArgs(int& argc, wchar_t** argv, const char* progname = "aProgram");
#endif // HAVE_WINDOWS_H
#endif
|