/usr/include/dcmtk/dcmdata/dcvm.h is in libdcmtk2-dev 3.6.0-15+deb8u1.
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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | /*
*
* Copyright (C) 1994-2010, 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: Andreas Barth
*
* Purpose: functions to derive VM from string
*
* Last Update: $Author: joergr $
* Update Date: $Date: 2010-10-14 13:15:42 $
* CVS/RCS Revision: $Revision: 1.9 $
* Status: $State: Exp $
*
* CVS/RCS Log at end of file
*
*/
#ifndef DCVM_H
#define DCVM_H
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
/** compute the number of values stored in one string
* @param val string
* @return number of values separated by backslash characters in this string
*/
unsigned long getVMFromString(const char * val);
/** get the first value strored in the given string and update the parameter
* to point to the next value in the string (values separated by backslash).
* The result of this function is allocated with new[] and must be delete[]d by the caller.
* The original string pointed to by s is not modified.
* @param s points to start of string; updated to point to start of next value in string
* @return first value in string, zero-terminated. char array allocated on heap, must be delete[]d by caller
*/
char * getFirstValueFromString(const char * & s);
#endif
/*
** CVS/RCS Log:
** $Log: dcvm.h,v $
** Revision 1.9 2010-10-14 13:15:42 joergr
** Updated copyright header. Added reference to COPYRIGHT file.
**
** Revision 1.8 2009-11-04 09:58:07 uli
** Switched to logging mechanism provided by the "new" oflog module
**
** Revision 1.7 2007-11-29 14:30:35 meichel
** Updated doxygen API documentation
**
** Revision 1.6 2005/12/08 16:28:49 meichel
** Changed include path schema for all DCMTK header files
**
** Revision 1.5 2001/06/01 15:48:47 meichel
** Updated copyright header
**
** Revision 1.4 2000/03/08 16:26:20 meichel
** Updated copyright header.
**
** Revision 1.3 1999/03/31 09:24:53 meichel
** Updated copyright header in module dcmdata
**
** Revision 1.2 1996/03/26 09:59:20 meichel
** corrected bug (deletion of const char *) which prevented compilation on NeXT
**
** Revision 1.1 1996/01/29 13:38:15 andreas
** - new put method for every VR to put value as a string
** - better and unique print methods
**
*/
|