1 |
dashley |
68 |
//$Header$
|
2 |
dashley |
25 |
//-------------------------------------------------------------------------------------------------
|
3 |
dashley |
68 |
//This file is part of "David T. Ashley's Shared Source Code", a set of shared components
|
4 |
|
|
//integrated into many of David T. Ashley's projects.
|
5 |
dashley |
25 |
//-------------------------------------------------------------------------------------------------
|
6 |
dashley |
68 |
//This source code and any program in which it is compiled/used is provided under the MIT License,
|
7 |
|
|
//reproduced below.
|
8 |
|
|
//-------------------------------------------------------------------------------------------------
|
9 |
|
|
//Permission is hereby granted, free of charge, to any person obtaining a copy of
|
10 |
|
|
//this software and associated documentation files(the "Software"), to deal in the
|
11 |
|
|
//Software without restriction, including without limitation the rights to use,
|
12 |
|
|
//copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the
|
13 |
|
|
//Software, and to permit persons to whom the Software is furnished to do so,
|
14 |
|
|
//subject to the following conditions :
|
15 |
dashley |
25 |
//
|
16 |
dashley |
68 |
//The above copyright notice and this permission notice shall be included in all
|
17 |
|
|
//copies or substantial portions of the Software.
|
18 |
dashley |
25 |
//
|
19 |
dashley |
68 |
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
20 |
|
|
//IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
21 |
|
|
//FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
22 |
|
|
//AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
23 |
|
|
//LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
24 |
|
|
//OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
25 |
|
|
//SOFTWARE.
|
26 |
dashley |
25 |
//-------------------------------------------------------------------------------------------------
|
27 |
|
|
//This module provides CRC and hash extensions to the Tcl
|
28 |
|
|
//interpreter. The extensions provided are:
|
29 |
|
|
// 1)crc32
|
30 |
|
|
//
|
31 |
|
|
|
32 |
|
|
#ifndef CRCHASHEXTNS_H_INCLUDED
|
33 |
|
|
#define CRCHASHEXTNS_H_INCLUDED
|
34 |
|
|
|
35 |
|
|
#ifdef MODULE_CRCHASHEXTNS
|
36 |
|
|
#define DECMOD_CRCHASHEXTNS
|
37 |
|
|
#else
|
38 |
|
|
#define DECMOD_CRCHASHEXTNS extern
|
39 |
|
|
#endif
|
40 |
|
|
|
41 |
|
|
DECMOD_CRCHASHEXTNS int CRCHASHEXTNS_Crc32extnCommand(
|
42 |
|
|
ClientData dummy,
|
43 |
|
|
Tcl_Interp *interp,
|
44 |
|
|
int objc,
|
45 |
|
|
Tcl_Obj *objv[]);
|
46 |
|
|
DECMOD_CRCHASHEXTNS void CRCHASHEXTNS_Crc32extnInit(Tcl_Interp *interp);
|
47 |
|
|
DECMOD_CRCHASHEXTNS const char *CRCHASHEXTNS_cvcinfo(void);
|
48 |
|
|
DECMOD_CRCHASHEXTNS const char *CRCHASHEXTNS_hvcinfo(void);
|
49 |
|
|
|
50 |
dashley |
68 |
#define CRCHASHEXTNS_H_VERSION ("$Header$")
|
51 |
dashley |
25 |
#endif
|
52 |
|
|
|
53 |
dashley |
68 |
//End of crchashextns.h.
|