File: ncudfplugins.h

package info (click to toggle)
netcdf 1%3A4.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 116,236 kB
  • sloc: ansic: 281,201; sh: 14,777; cpp: 6,000; yacc: 2,612; makefile: 2,025; lex: 1,218; javascript: 280; xml: 173; awk: 2
file content (39 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (2)
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
/* Copyright 2026 University Corporation for Atmospheric
   Research/Unidata. */

#ifndef NCUDFPLUGINS_H
#define NCUDFPLUGINS_H

/**
 * @file
 * @internal This header file contains prototypes and declarations for
 * UDF plugin loading from RC files.
 *
 * @author Ed Hartnett
 */

#ifdef __cplusplus
extern "C" {
#endif

/**
 * Load and initialize UDF plugins from RC file configuration.
 * 
 * This function reads RC file entries for NETCDF.UDF0.LIBRARY through
 * NETCDF.UDF9.LIBRARY and their corresponding INIT and MAGIC keys,
 * then dynamically loads the plugin libraries and calls their
 * initialization functions.
 * 
 * @return NC_NOERR on success (even if no plugins are configured or
 *         some plugins fail to load), error code on critical failure.
 *
 * @author Edward Hartnett
 * @date 2/2/26
 */
EXTERNL int NC_udf_load_plugins(void);

#ifdef __cplusplus
}
#endif

#endif /* NCUDFPLUGINS_H */