root / trunk / libraries / libjni-ecw / include / NCSnet.h @ 6869
History | View | Annotate | Download (974 Bytes)
1 |
/********************************************************
|
---|---|
2 |
** Copyright 1999 Earth Resource Mapping Ltd.
|
3 |
** This document contains proprietary source code of
|
4 |
** Earth Resource Mapping Ltd, and can only be used under
|
5 |
** one of the three licenses as described in the
|
6 |
** license.txt file supplied with this distribution.
|
7 |
** See separate license.txt file for license details
|
8 |
** and conditions.
|
9 |
**
|
10 |
** This software is covered by US patent #6,442,298,
|
11 |
** #6,102,897 and #6,633,688. Rights to use these patents
|
12 |
** is included in the license agreements.
|
13 |
**
|
14 |
** FILE: include\NCSnet.h
|
15 |
** CREATED:
|
16 |
** AUTHOR: Doug Mansell
|
17 |
** PURPOSE: cnet/snet shared private header
|
18 |
** EDITS:
|
19 |
*******************************************************/
|
20 |
|
21 |
#ifndef NCSNET_H
|
22 |
#define NCSNET_H
|
23 |
|
24 |
/*
|
25 |
** protocol commands
|
26 |
*/
|
27 |
|
28 |
#define NCSNET_PACKET 0 |
29 |
#define NCSNET_CHUNKED_PACKET 1 |
30 |
#define NCSNET_CHUNK 2 |
31 |
|
32 |
#define NCSNET_COMMAND(command,length) ((UINT32)((command)<<24)|((length)&0xffffff)) |
33 |
|
34 |
#endif
|