1 1 16.4 API Description 1 ==================== 1 1 C or C++ code for an extension must include the header file 'gawkapi.h', 1 which declares the functions and defines the data types used to 1 communicate with 'gawk'. This (rather large) minor node describes the 1 API in detail. 1
1 · Extension API Functions Introduction Introduction to the API functions. · General Data Types The data types. · Memory Allocation Functions Functions for allocating memory. · Constructor Functions Functions for creating values. · Registration Functions Functions to register things with 1 'gawk'. · Printing Messages Functions for printing messages. · Updating ERRNO Functions for updating 'ERRNO'. · Requesting Values How to get a value. · Accessing Parameters Functions for accessing parameters. · Symbol Table Access Functions for accessing global 1 variables. · Array Manipulation Functions for working with arrays. · Redirection API How to access and manipulate 1 redirections. · Extension API Variables Variables provided by the API. · Extension API Boilerplate Boilerplate code for using the API. · Changes from API V1 Changes from V1 of the API. 1