forked from gmcgarragh/seviri_util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
seviri_util_dlm.h
31 lines (23 loc) · 954 Bytes
/
seviri_util_dlm.h
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
/*******************************************************************************
*
* Copyright (C) 2014-2018 Greg McGarragh <[email protected]>
*
* This source code is licensed under the GNU General Public License (GPL),
* Version 3. See the file COPYING for more details.
*
******************************************************************************/
#ifndef SEVIRI_UTIL_DLM_H
#define SEVIRI_UTIL_DLM_H
/* Message Numbers */
#define SEVIRI_PREPROC_ERROR 0
#define SEVIRI_PREPROC_NOSTRINGARRAY -1
/* Useful macro */
#define ARRLEN(arr) (sizeof(arr)/sizeof(arr[0]))
extern IDL_MSG_BLOCK msg_block;
/* Define the startup function that adds C functions to IDL along with the exit
handler */
extern int seviri_util_startup(void);
extern void seviri_util_exit_handler(void);
/* Define the wrapper function which calls seviri_util */
extern void IDL_CDECL seviri_preproc_dlm(int argc, IDL_VPTR argv[], char *argk);
#endif