1 /*
2     ctonm.h, Copyright (C) 2001-2003 Joe Laffey
3 
4     $Revision: 1.16 $
5 
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10 
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15 
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20 
21 #ifndef CTONM_H
22 #define CTONM_H
23 
24 
25 #include <stdlib.h>
26 #include <stdio.h>
27 
28 #ifndef __dest_os
29 #define __dest_os	6969
30 #endif
31 
32 #if __dest_os == __win32_os || __dest_os == __mac_os
33 
34 #define EX_USAGE        64
35 #define EX_DATAERR		65
36 #define EX_SOFTWARE		70
37 
38 #else
39 /* Windoze does not have this - or I can't find it... */
40 #include <sysexits.h>
41 #endif
42 
43 #include "octets.h"
44 #include "printdata.h"
45 #include "myname.h"
46 
47 #define BIT_LEN		3	/* Length of the CIDR bits string (including null) */
48 
49 extern int ctonm_main(uint32);
50 extern int nmtoc_main(char*, uint32 );
51 
52 #endif
53 
54