NEP 2.7.0
NetCDF Extension Pack
Loading...
Searching...
No Matches
Functions | Variables
pds4dispatch.c File Reference
#include "config.h"
#include <stdlib.h>
#include "pds4dispatch.h"
#include "nc4dispatch.h"
#include "hdf5dispatch.h"
#include "netcdf_filter.h"

Functions

NC_Dispatch * NC_PDS4_initialize (void)
 
int NC_PDS4_finalize (void)
 

Variables

static const NC_Dispatch PDS4_dispatcher
 
const NC_Dispatch * PDS4_dispatch_table = NULL
 

Function Documentation

◆ NC_PDS4_finalize()

int NC_PDS4_finalize ( void  )

Finalize the PDS4 dispatch layer.

No-op in the current implementation.

Returns
NC_NOERR No error.
Author
Edward Hartnett
Date
2026-07-08

◆ NC_PDS4_initialize()

NC_Dispatch * NC_PDS4_initialize ( void  )

Initialize the PDS4 dispatch layer.

Registers the PDS4 handler via nc_def_user_format() for direct calls, and returns the dispatch table pointer for the self-registration (HAVE_NETCDF_UDF_SELF_REGISTRATION) path. Safe to call when the handler has already been registered via .ncrc autoload; in that case NC_EINVAL from nc_def_user_format() is silently ignored.

Returns
Pointer to PDS4 dispatch table, or NULL on failure.
Author
Edward Hartnett
Date
2026-07-08

Variable Documentation

◆ PDS4_dispatch_table

const NC_Dispatch* PDS4_dispatch_table = NULL

◆ PDS4_dispatcher

const NC_Dispatch PDS4_dispatcher
static