Linux Manuals session 3

Section 3: library functions

  • |

    bCoefficients (3) Linux Manual Page

    QuantLib::CubicInterpolation – Cubic interpolation between discrete points. Synopsis #include <ql/math/interpolations/cubicinterpolation.hpp> Inherits QuantLib::Interpolation. Inherited by MonotonicNaturalCubicInterpolation, and NaturalCubicInterpolation. Public Types enum DerivativeApprox { Spline, FourthOrder, Parabolic, ModifiedParabolic, FritschButland, Akima, Kruger } enum BoundaryCondition { NotAKnot, FirstDerivative, SecondDerivative, Periodic, Lagrange } Public Member Functions template<class I1 , class I2 > CubicInterpolation (const I1 &xBegin, const I1 &xEnd,…

  • |

    ax25 (3) Linux Manual Page

    NAME ax25_aton, ax25_aton_entry, ax25_aton_arglist, ax25_ntoa, ax25_cmp, ax25_validate – AX25 Address manipulation routines SYNOPSIS #include <netax25/ax25.h> int ax25_aton(const char *cp, struct full_sockaddr_ax25 *fsap); int ax25_aton_arglist(const char **cp, struct full_sockaddr_ax25 *fsap); int ax25_aton_entry(const char *cp, char *axp); char *ax25_ntoa(ax25_address *axp); int ax25_cmp(ax25_address *ax1, ax25_address *ax2); int ax25_validate(char *axp); char *ax25_config_file(const char *filename); DESCRIPTION ax25_aton() takes the ASCII…

  • |

    avgRate (3) Linux Manual Page

    ql/termstructures/yield/bootstraptraits.hpp – bootstrap traits Synopsis #include <ql/termstructures/yield/discountcurve.hpp> #include <ql/termstructures/yield/zerocurve.hpp> #include <ql/termstructures/yield/forwardcurve.hpp> #include <ql/termstructures/bootstraphelper.hpp> Classes struct Discount Discount-curve traits. struct ZeroYield Zero-curve traits. struct ForwardRate Forward-curve traits. Variables const Rate avgRate = 0.05 Detailed Description bootstrap traits Author Generated automatically by Doxygen for QuantLib from the source code.

  • |

    averageType_ (3) Linux Manual Page

    QuantLib::ContinuousAveragingAsianOption – Continuous-averaging Asian option. Synopsis #include <ql/instruments/asianoption.hpp> Inherits QuantLib::OneAssetOption. Classes class arguments Extra arguments for single-asset continuous-average Asian option. class engine Continuous-averaging Asian engine base class. Public Member Functions ContinuousAveragingAsianOption (Average::Type averageType, const boost::shared_ptr< StrikedTypePayoff > &payoff, const boost::shared_ptr< Exercise > &exercise) void setupArguments (PricingEngine::arguments *) const Protected Attributes Average::Type averageType_ Detailed Description Continuous-averaging…

  • |

    averageType (3) Linux Manual Page

    NAME ql/instruments/averagetype.hpp – Averaging algorithm enumeration. SYNOPSIS #include <ql/qldefines.hpp> #include <ostream> Classes struct Average Placeholder for enumerated averaging types. Functions std::ostream & operator<< (std::ostream &out, Average::Type type) Detailed Description Averaging algorithm enumeration. Author Generated automatically by Doxygen for QuantLib from the source code. Index

  • |

    averageShortfall (3) Linux Manual Page

    QuantLib::GenericRiskStatistics – empirical-distribution risk measures Synopsis #include <ql/math/statistics/riskstatistics.hpp> Inherits S. Public Types typedef S::value_type value_type Public Member Functions Real semiVariance () const Real semiDeviation () const Real downsideVariance () const Real downsideDeviation () const Real regret (Real target) const Real potentialUpside (Real percentile) const potential upside (the reciprocal of VAR) at a given percentile Real…

  • |

    avcall (3) Linux Manual Page

    NAME avcall – build a C argument list incrementally and call a C function on it. SYNOPSIS #include <avcall.h> av_alist alist; av_start_type(alist, &func [[, return_type], &return_value]); av_type(alist, [arg_type,] value); av_call(alist); DESCRIPTION This set of macros builds an argument list for a C function and calls the function on it. It significantly reduces the amount of…

  • |

    avc_sid_to_context (3) Linux Manual Page

    NAME avc_context_to_sid, avc_sid_to_context, avc_get_initial_sid – obtain and manipulate SELinux security ID’s SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_context_to_sid(char *ctx, security_id_t *sid); int avc_sid_to_context(security_id_t sid, char **ctx); int avc_get_initial_sid(const char *name, security_id_t *sid); DESCRIPTION Security ID’s (SID’s) are opaque representations of security contexts, managed by the userspace AVC. avc_context_to_sid() returns a SID for the given context…

  • |

    avc_sid_stats (3) Linux Manual Page

    NAME avc_cache_stats, avc_av_stats, avc_sid_stats – obtain userspace SELinux AVC statistics SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> void avc_av_stats(void); void avc_sid_stats(void); void avc_cache_stats(struct avc_cache_stats *stats); DESCRIPTION The userspace AVC maintains two internal hash tables, one to store security ID’s and one to cache access decisions. avc_av_stats() and avc_sid_stats() produce log messages indicating the status of the access…

  • |

    avc_reset (3) Linux Manual Page

    NAME avc_open, avc_destroy, avc_reset, avc_cleanup – userspace SELinux AVC setup and teardown SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_open(struct selinux_opt *options, unsigned nopt); void avc_destroy(void); int avc_reset(void); void avc_cleanup(void); DESCRIPTION avc_open() initializes the userspace AVC and must be called before any other AVC operation can be performed. avc_destroy() destroys the userspace AVC, freeing all internal…

  • |

    avc_open (3) Linux Manual Page

    NAME avc_open, avc_destroy, avc_reset, avc_cleanup – userspace SELinux AVC setup and teardown SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_open(struct selinux_opt *options, unsigned nopt); void avc_destroy(void); int avc_reset(void); void avc_cleanup(void); DESCRIPTION avc_open() initializes the userspace AVC and must be called before any other AVC operation can be performed. avc_destroy() destroys the userspace AVC, freeing all internal…

  • |

    avc_netlink_release_fd (3) Linux Manual Page

    NAME avc_netlink_open, avc_netlink_close, avc_netlink_acquire_fd, avc_netlink_release_fd, avc_netlink_check_nb, avc_netlink_loop – SELinux netlink processing SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_netlink_open(int blocking); void avc_netlink_close(void); int avc_netlink_acquire_fd(void); void avc_netlink_release_fd(void); void avc_netlink_loop(void); int avc_netlink_check_nb(void); DESCRIPTION These functions enable applications to handle notification of SELinux events via netlink. The userspace AVC normally checks for netlink messages on each call to avc_has_perm(3)….

  • |

    avc_netlink_open (3) Linux Manual Page

    NAME avc_netlink_open, avc_netlink_close, avc_netlink_acquire_fd, avc_netlink_release_fd, avc_netlink_check_nb, avc_netlink_loop – SELinux netlink processing SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_netlink_open(int blocking); void avc_netlink_close(void); int avc_netlink_acquire_fd(void); void avc_netlink_release_fd(void); void avc_netlink_loop(void); int avc_netlink_check_nb(void); DESCRIPTION These functions enable applications to handle notification of SELinux events via netlink. The userspace AVC normally checks for netlink messages on each call to avc_has_perm(3)….

  • |

    avc_netlink_loop (3) Linux Manual Page

    NAME avc_netlink_open, avc_netlink_close, avc_netlink_acquire_fd, avc_netlink_release_fd, avc_netlink_check_nb, avc_netlink_loop – SELinux netlink processing SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_netlink_open(int blocking); void avc_netlink_close(void); int avc_netlink_acquire_fd(void); void avc_netlink_release_fd(void); void avc_netlink_loop(void); int avc_netlink_check_nb(void); DESCRIPTION These functions enable applications to handle notification of SELinux events via netlink. The userspace AVC normally checks for netlink messages on each call to avc_has_perm(3)….

  • |

    avc_netlink_close (3) Linux Manual Page

    NAME avc_netlink_open, avc_netlink_close, avc_netlink_acquire_fd, avc_netlink_release_fd, avc_netlink_check_nb, avc_netlink_loop – SELinux netlink processing SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_netlink_open(int blocking); void avc_netlink_close(void); int avc_netlink_acquire_fd(void); void avc_netlink_release_fd(void); void avc_netlink_loop(void); int avc_netlink_check_nb(void); DESCRIPTION These functions enable applications to handle notification of SELinux events via netlink. The userspace AVC normally checks for netlink messages on each call to avc_has_perm(3)….

  • |

    avc_netlink_check_nb (3) Linux Manual Page

    NAME avc_netlink_open, avc_netlink_close, avc_netlink_acquire_fd, avc_netlink_release_fd, avc_netlink_check_nb, avc_netlink_loop – SELinux netlink processing SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_netlink_open(int blocking); void avc_netlink_close(void); int avc_netlink_acquire_fd(void); void avc_netlink_release_fd(void); void avc_netlink_loop(void); int avc_netlink_check_nb(void); DESCRIPTION These functions enable applications to handle notification of SELinux events via netlink. The userspace AVC normally checks for netlink messages on each call to avc_has_perm(3)….

  • |

    avc_netlink_acquire_fd (3) Linux Manual Page

    NAME avc_netlink_open, avc_netlink_close, avc_netlink_acquire_fd, avc_netlink_release_fd, avc_netlink_check_nb, avc_netlink_loop – SELinux netlink processing SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_netlink_open(int blocking); void avc_netlink_close(void); int avc_netlink_acquire_fd(void); void avc_netlink_release_fd(void); void avc_netlink_loop(void); int avc_netlink_check_nb(void); DESCRIPTION These functions enable applications to handle notification of SELinux events via netlink. The userspace AVC normally checks for netlink messages on each call to avc_has_perm(3)….

  • |

    avc_init (3) Linux Manual Page

    NAME avc_init – legacy userspace SELinux AVC setup SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> int avc_init(const char *msgprefix, const struct avc_memory_callback *mem_callbacks, const struct avc_log_callback *log_callbacks, const struct avc_thread_callback *thread_callbacks, const struct avc_lock_callback *lock_callbacks); DESCRIPTION avc_init() is deprecated; please use avc_open(3) in conjunction with selinux_set_callback(3) in all new code. avc_init() initializes the userspace AVC and must…

  • |

    avc_has_perm_noaudit (3) Linux Manual Page

    NAME avc_has_perm, avc_has_perm_noaudit, avc_audit, avc_entry_ref_init – obtain and audit SELinux access decisions SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> void avc_entry_ref_init(struct avc_entry_ref *aeref); int avc_has_perm(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, void *auditdata); int avc_has_perm_noaudit(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, struct av_decision *avd); void avc_audit(security_id_t ssid, security_id_t tsid,…

  • |

    avc_has_perm (3) Linux Manual Page

    NAME avc_has_perm, avc_has_perm_noaudit, avc_audit, avc_entry_ref_init – obtain and audit SELinux access decisions SYNOPSIS #include <selinux/selinux.h> #include <selinux/avc.h> void avc_entry_ref_init(struct avc_entry_ref *aeref); int avc_has_perm(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, void *auditdata); int avc_has_perm_noaudit(security_id_t ssid, security_id_t tsid, security_class_t tclass, access_vector_t requested, struct avc_entry_ref *aeref, struct av_decision *avd); void avc_audit(security_id_t ssid, security_id_t tsid,…