Chapter 8, Modules
A module is a software package that plugs into the Pike programming
environment. They provide you with simple interfaces to system routines
and they also constitute a neat way to use your own C/C++ code from
within Pike. Pike comes with a number of modules that are ready to use.
In this chapter I will explain the basics of modules and how to use them.
here is a list of the basic Pike modules:
- This module contains file I/O routines.
- This module contains functions that operate on arrays.
- Support for different calendar and date formats.
- Crypto *
- Cryptography routines.
- Gdbm *
- This module contains support for Gdbm databases.
- Routines to parse command line options
- Gmp *
- Support for large numbers.
- Gz *
- Deflate packing algorithms.
- Image manipulation routines.
- LALR(1) parser generator.
- Msql *
- Sql database support for the mini-SQL database server.
- Support for coding and decoding MIME.
- Mysql *
- Sql database support for the mySQL database server.
- Functions to start and control other processes.
- Support for HTTP, NNTP, SMNT, DNS, TELNET and other protocols.
- Regexp matching routines.
- Routines to emulate old Pike routines.
- Routines that operate on strings.
- Sql *
- Support for ASN1, PKCS and other standards.
- Generic SQL database support.
- Support for system specific functions.
- Thread *
- Thread support functions.
- Complete programs available to use from within scripts.
- Yp *
- Network Information System support.
* These modules might not be available depending on how Pike was compiled
and whether support for these functions exist on your system.