The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

krb5_config_get_int_default (3)
  • >> krb5_config_get_int_default (3) ( FreeBSD man: Библиотечные вызовы )

  • BSD mandoc
    HEIMDAL  

    NAME

    krb5_config_get_bool_default
    
     
    krb5_config_get_int_default
    
     
    krb5_config_get_string_default
    
     
    krb5_config_get_time_default
    
     - get configuration value
    
     
    

    LIBRARY

    Kerberos 5 Library (libkrb5, -lkrb5)
     
    

    SYNOPSIS

       #include <krb5.h>
    krb5_boolean krb5_config_get_bool_default (krb5_context context krb5_config_section *c krb5_boolean def_value ...);
    int krb5_config_get_int_default (krb5_context context krb5_config_section *c int def_value ...);
    const char* krb5_config_get_string_default (krb5_context context krb5_config_section *c const char *def_value ...);
    int krb5_config_get_time_default (krb5_context context krb5_config_section *c int def_value ...);
     

    DESCRIPTION

    These functions get values from the krb5.conf5 configuration file, or another configuration database specified by the Fa c parameter.

    The variable arguments should be a list of strings naming each subsection to look for. For example:

    krb5_config_get_bool_default(context, NULL, FALSE, "libdefaults", "log_utc", NULL)
    

    gets the boolean value for the log_utc option, defaulting to FALSE

    krb5_config_get_bool_default ();
    will convert the option value to a boolean value, where `yes' `true' and any non-zero number means TRUE and any other value FALSE

    krb5_config_get_int_default ();
    will convert the value to an integer.

    krb5_config_get_time_default ();
    will convert the value to a period of time (not a time stamp) in seconds, so the string `2 weeks' will be converted to 1209600 (2 * 7 * 24 * 60 * 60).  

    BUGS

    Other than for the string case, there's no way to tell whether there was a value specified or not.  

    SEE ALSO

    krb5_appdefault3, krb5.conf5


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    BUGS
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру