SysTutorials Posts

  • |

    libraptor2 (3) Linux Manual Page

    NAME libraptor2 – Raptor RDF syntax library 2.0 SYNOPSIS #include <raptor2.h> world = raptor_new_world(); raptor_parser *p = raptor_new_parser(world, rdfxml); raptor_set_statement_handler(p, NULL, print_triples); raptor_uri *file_uri=raptor_new_uri(world,http://example.org/); raptor_parser_parse_file(p,file_uri,base_uri); raptor_parser_parse_uri(p,uri,NULL); raptor_free_parser(p); raptor_free_uri(file_uri); raptor_free_world(world); cc prog.c -o prog `pkg-config raptor2 –cflags` `pkg-config raptor2 –libs` DESCRIPTION The Raptor library provides a high-level interface to a set of parsers and serializers that…

  • |

    libraptor (3) Linux Manual Page

    NAME libraptor – Raptor RDF parser and serializer library SYNOPSIS #include <raptor.h> raptor_init(); raptor_parser *p=raptor_new_parser(rdfxml); raptor_set_statement_handler(p,NULL,print_triples); raptor_uri *file_uri=raptor_new_uri(http://example.org/); raptor_parse_file(p,file_uri,base_uri); raptor_parse_uri(p,uri,NULL); raptor_free_parser(p); raptor_free_uri(file_uri); raptor_finish(); cc file.c -lraptor DESCRIPTION The Raptor library provides a high-level interface to a set of parsers and serializers that generate Resource Description Framework (RDF) triples by parsing syntaxes or serialize the triples…

  • |

    libquvi (3) Linux Manual Page

    NAME libquvi – Overview of query media library DESCRIPTION libquvi is a cross-platform library for parsing flash media stream URLs with C API. The term “quvi” is a shorthand for “query video”. API documentation <http://quvi.sourceforge.net/doc/> Motivation libquvi originates from the idea of allowing users to view the videos without having to install or use flash….

  • |

    libppm (3) Linux Manual Page

    NAME libppm – functions for PPM programs SYNOPSIS #include <netpbm/ppm.h> void ppm_init(int * argcP,   char * argv[]); pixel ** ppm_allocarray( int cols,int rows); pixel * ppm_allocrow(int cols); void ppm_freearray(pixel ** pixels,   int rows); void ppm_freerow(pixel * pixelrow); void ppm_readppminit(FILE * fp,   int * colsP,   int * rowsP, pixval * maxvalP,int * formatP ); void ppm_readppmrow(FILE *fp,   pixel * pixelrow,   int cols,   pixval maxval,   int format); pixel **…

  • |

    libpowerman (3) Linux Manual Page

    NAME libpowerman – PowerMan Client API SYNOPSIS #include <libpowerman.h> pm_err_t pm_connect(char *server, void *arg, pm_handle_t *hp, int flags); void pm_disconnect(pm_handle_t h); pm_err_t pm_node_on(pm_handle_t h, char *node); pm_err_t pm_node_off(pm_handle_t h, char *node); pm_err_t pm_node_cycle(pm_handle_t h, char *node); pm_err_t pm_node_status(pm_handle_t h, char *node, pm_node_state_t sp); pm_err_t pm_node_iterator_create(pm_handle_t h, pm_node_iterator_t *ip); void pm_node_iterator_destroy(pm_node_iterator_t i); char *pm_node_next(pm_node_iterator_t i); void…

  • |

    libpnm (3) Linux Manual Page

    NAME libpnm – libnetpbm functions to read and write PNM image files SYNOPSIS #include <netpbm/pnm.h> void pnm_init( int *argcP, char *argv[] ); xel ** pnm_allocarray( int cols, int rows); xel * pnm_allocrow( int cols); void pnm_freearray( xel **xels, int rows); void pnm_freerow( xel *xelrow); void pnm_readpnminit( FILE *fp, int *colsP, int *rowsP, xelval *maxvalP, int…

  • |

    libpngpf (3) Linux Manual Page

    NAME libpng – Portable Network Graphics (PNG) Reference Library 1.5.13 (private functions) SYNOPSIS #include "pngpriv.h" As of libpng version 1.5.1, this section is no longer maintained, now that the private function prototypes are hidden in pngpriv.h and not accessible to applications. Look in pngpriv.h for the prototypes and a short description of each function. DESCRIPTION…

  • |

    libpng (3) Linux Manual Page

    NAME libpng – Portable Network Graphics (PNG) Reference Library 1.5.13 SYNOPSIS #include <png.h> png_uint_32 png_access_version_number (void); void png_benign_error (png_structp png_ptr, png_const_charp error); void png_build_grayscale_palette (int bit_depth, png_colorp palette); png_voidp png_calloc (png_structp png_ptr, png_alloc_size_t size); void png_chunk_benign_error (png_structp png_ptr, png_const_charp error); void png_chunk_error (png_structp png_ptr, png_const_charp error); void png_chunk_warning (png_structp png_ptr, png_const_charp message); void png_convert_from_struct_tm (png_timep…

  • |

    libpm (3) Linux Manual Page

    Table Of Contents These library functions are part of Netpbm(1) This page documents functions in the Netpbm subroutine library that are not directly related to image data. For introductory and general information using libnetpbm, see LibnetpbmUser’sGuide(1) The most commonly used libnetpbm functions are those that read and write and process Netpbm images. Those are documented…

  • |

    libpgm (3) Linux Manual Page

    NAME libpgm – libnetpbm functions to read and write PGM image files SYNOPSIS #include <netpbm/pgm.h> void pgm_init( int *argcP, char *argv[] ); gray ** pgm_allocarray( int cols, int rows ); gray * pgm_allocrow( intcols ); void pgm_freearray( gray **grays, introws ); void pgm_freerow( gray *grayrow); void pgm_readpgminit( FILE *fp, int *colsP, int *rowsP, gray *maxvalP,…

  • |

    libpbm (3) Linux Manual Page

    NAME libpbm – libnetpbm functions to read and write PBM image files SYNOPSIS #include <netpbm/pbm.h> bit **pbm_allocarray(int cols, int rows); bit *pbm_allocrow(int cols); pbm_freearray(bit **bits, int rows); pbm_freerow(bit *bitrow); void pbm_readpbminit(FILE * fp, int *colsP, int *rowsP, int *formatP); void pbm_readpbmrow(FILE * fp, bit *bitrow, int cols, int format); void pbm_readpbmrow_packed(FILE * fp, unsigned char…

  • |

    liborSpread (3) Linux Manual Page

    QuantLib::BMASwap – swap paying Libor against BMA coupons Synopsis #include <ql/instruments/bmaswap.hpp> Inherits QuantLib::Swap. Public Types enum Type { Receiver = -1, Payer = 1 } Public Member Functions BMASwap (Type type, Real nominal, const Schedule &liborSchedule, Rate liborFraction, Rate liborSpread, const boost::shared_ptr< IborIndex > &liborIndex, const DayCounter &liborDayCount, const Schedule &bmaSchedule, const boost::shared_ptr< BMAIndex >…

  • |

    liborLegNPV (3) Linux Manual Page

    QuantLib::BMASwap – swap paying Libor against BMA coupons Synopsis #include <ql/instruments/bmaswap.hpp> Inherits QuantLib::Swap. Public Types enum Type { Receiver = -1, Payer = 1 } Public Member Functions BMASwap (Type type, Real nominal, const Schedule &liborSchedule, Rate liborFraction, Rate liborSpread, const boost::shared_ptr< IborIndex > &liborIndex, const DayCounter &liborDayCount, const Schedule &bmaSchedule, const boost::shared_ptr< BMAIndex >…

  • |

    liborLegBPS (3) Linux Manual Page

    QuantLib::BMASwap – swap paying Libor against BMA coupons Synopsis #include <ql/instruments/bmaswap.hpp> Inherits QuantLib::Swap. Public Types enum Type { Receiver = -1, Payer = 1 } Public Member Functions BMASwap (Type type, Real nominal, const Schedule &liborSchedule, Rate liborFraction, Rate liborSpread, const boost::shared_ptr< IborIndex > &liborIndex, const DayCounter &liborDayCount, const Schedule &bmaSchedule, const boost::shared_ptr< BMAIndex >…

  • |

    liborLeg (3) Linux Manual Page

    QuantLib::BMASwap – swap paying Libor against BMA coupons Synopsis #include <ql/instruments/bmaswap.hpp> Inherits QuantLib::Swap. Public Types enum Type { Receiver = -1, Payer = 1 } Public Member Functions BMASwap (Type type, Real nominal, const Schedule &liborSchedule, Rate liborFraction, Rate liborSpread, const boost::shared_ptr< IborIndex > &liborIndex, const DayCounter &liborDayCount, const Schedule &bmaSchedule, const boost::shared_ptr< BMAIndex >…

  • |

    liborFraction (3) Linux Manual Page

    QuantLib::BMASwap – swap paying Libor against BMA coupons Synopsis #include <ql/instruments/bmaswap.hpp> Inherits QuantLib::Swap. Public Types enum Type { Receiver = -1, Payer = 1 } Public Member Functions BMASwap (Type type, Real nominal, const Schedule &liborSchedule, Rate liborFraction, Rate liborSpread, const boost::shared_ptr< IborIndex > &liborIndex, const DayCounter &liborDayCount, const Schedule &bmaSchedule, const boost::shared_ptr< BMAIndex >…

  • |

    libopenjpeg (3) Linux Manual Page

    NAME libopenjpeg – a library for reading and writing JPEG2000 image files. SYNOPSIS #include <openjpeg.h> CONVERSION FORMATS PGX: imagetopgx() / pgxtoimage() PXM: imagetopnm() / pnmtoimage() BMP: imagetobmp() / bmptoimage() TIF: imagetotif() / tiftoimage() RAW: imagetoraw() / rawtoimage() TGA: imagetotga() / tgatoimage() PNG: imagetopng() / pngtoimage() YUV: imagetoyuv() / yuvtoimage() (MJ2) READ opj_set_default_decoder_parameters(opj_dparameters_t *params); opj_dinfo_t *opj_create_decompress(OPJ_CODEC_FORMAT…

  • |

    libopenjp2 (3) Linux Manual Page

    NAME libopenjp2 – a library for reading and writing JPEG2000 image files. SYNOPSIS #include <openjpeg.h> CONVERSION FORMATS PGX: imagetopgx() / pgxtoimage() PXM: imagetopnm() / pnmtoimage() BMP: imagetobmp() / bmptoimage() TIF: imagetotif() / tiftoimage() RAW: imagetoraw() / rawtoimage() TGA: imagetotga() / tgatoimage() PNG: imagetopng() / pngtoimage() YUV: imagetoyuv() / yuvtoimage() (MJ2) READ opj_set_default_decoder_parameters(opj_dparameters_t *params); opj_dinfo_t *opj_create_decompress(OPJ_CODEC_FORMAT…

  • |

    libnutclient_variables (3) Linux Manual Page

    NAME libnutclient_variables, nutclient_get_device_variables, nutclient_get_device_rw_variables, nutclient_has_device_variable, nutclient_get_device_variable_description, nutclient_get_device_variable_values, nutclient_set_device_variable_value, nutclient_set_device_variable_values – Variable related functions in Network UPS Tools high-level client access library SYNOPSIS #include <nutclient.h> typedef void* NUTCLIENT_t; strarr nutclient_get_device_variables(NUTCLIENT_t client, const char *dev); strarr nutclient_get_device_rw_variables(NUTCLIENT_t client, const char *dev); int nutclient_has_device_variable(NUTCLIENT_t client, const char *dev, const char *var); char *nutclient_get_device_variable_description(NUTCLIENT_t client, const char *dev, const…

  • |

    libnutclient_tcp (3) Linux Manual Page

    NAME libnutclient_tcp, nutclient_tcp_create_client, nutclient_tcp_is_connected, nutclient_tcp_disconnect, nutclient_tcp_reconnect, nutclient_tcp_set_timeout, nutclient_tcp_get_timeout – TCP protocol related function for Network UPS Tools high-level client access library SYNOPSIS #include <nutclient.h> typedef NUTCLIENT_t NUTCLIENT_TCP_t; NUTCLIENT_TCP_t nutclient_tcp_create_client(const char *host, unsigned short port); int nutclient_tcp_is_connected(NUTCLIENT_TCP_t client); void nutclient_tcp_disconnect(NUTCLIENT_TCP_t client); int nutclient_tcp_reconnect(NUTCLIENT_TCP_t client); void nutclient_tcp_set_timeout(NUTCLIENT_TCP_t client, long timeout); long nutclient_tcp_get_timeout(NUTCLIENT_TCP_t client); DESCRIPTION These functions allow…