This is guile-procedures.txt, produced by makeinfo version 7.2 from
guile-procedures.texi.

avl-delete
 -- Scheme Procedure: avl-delete list attr
     Deletes from LIST pairs with attributes matching ATTR.  The latter
     is either a symbolic name of the attribute as defined in the
     dictionary, or its number.

   avl-merge
 -- Scheme Procedure: avl-merge dstlist srclist
     Merge SRCLIST into DSTLIST.

   avl-match?
 -- Scheme Procedure: avl-match? target list
     Return ‘#t’ if all pairs from LIST are also present in TARGET

   rad-dict-name->attr
 -- Scheme Procedure: rad-dict-name->attr name
     Looks up attribute NAME in radius dictionary and returns its entry,
     or ‘#f’ if no such name was found in the dictionary.  Returned
     entry is a list:
          (NAME-STRING ATTR-NUMBER TYPE-NUMBER VENDOR)
     where:
     NAME-STRING
          Attribute name.
     VALUE-NUMBER
          Attribute number.
     TYPE-NUMBER
          Attribute type.
     VENDOR
          Vendor PEC, if the attribute is a Vendor-Specific one, or ‘#f’
          otherwise.

   rad-dict-value->name
 -- Scheme Procedure: rad-dict-value->name attribute value
     Returns dictionary name of the given value of an integer-type
     attribute.

   rad-dict-name->value
 -- Scheme Procedure: rad-dict-name->value attribute value
     Convert a symbolic attribute value name into its integer
     representation.

   rad-dict-pec->vendor
 -- Scheme Procedure: rad-dict-pec->vendor pec
     Converts PEC to vendor name.

   md5-calc
 -- Scheme Procedure: md5-calc input
     Computes MD5 hash of INPUT.

   md4-calc
 -- Scheme Procedure: md4-calc input
     Computes MD4 hash of INPUT.

   sha1-calc-list
 -- Scheme Procedure: sha1-calc-list hlist
     Computes SHA1 hash of strings from HLIST.

   lm-password-hash
 -- Scheme Procedure: lm-password-hash input
     Create a “LM-password” hash from the given INPUT.

   mschap-response
 -- Scheme Procedure: mschap-response password challenge
     Computes an ‘MS-CHAP’ response string for the given PASSWORD and
     CHALLENGE.

   string-hex->bin
 -- Scheme Procedure: string-hex->bin str
     Convert STR from hex to binary representation.

   string-bin->hex
 -- Scheme Procedure: string-bin->hex str
     Convert STR from binary to hex representation.

   rad-log-open
 -- Scheme Procedure: rad-log-open prio
     Opens logging to radius severity level PRIO.

   rad-log
 -- Scheme Procedure: rad-log prio text
     Outputs TEXT to the radius logging channel corresponding to
     category/severity given by PRIO.

   rad-log-close
 -- Scheme Procedure: rad-log-close
     Closes a radius logging channel open by a previous call to
     ‘rad-log-open’.

   rad-rewrite-execute-string
 -- Scheme Procedure: rad-rewrite-execute-string string
     Interprets STRING as a function call in Rewrite language
     andexecutes it.

     Return value: return of the corresponding Rewrite call, translated
     to a corresponding Scheme data type.

   rad-rewrite-execute
 -- Scheme Procedure: rad-rewrite-execute arglist
     Executes a Rewrite language function.  ‘(car ARGLIST)’ is
     interpreted as a name of function to run, and ‘(cdr ARGLIST)’ as a
     list of arguments to be passed to it.

     Return value: return of the corresponding Rewrite call, translated
     to a corresponding Scheme data type.

   rad-openlog
 -- Scheme Procedure: rad-openlog ident option facility
     Opens a connection to the system logger.  The arguments IDENT,
     OPTION and FACILITY have the same meaning as in openlog(3).

   rad-syslog
 -- Scheme Procedure: rad-syslog prio text
     Distributes TEXT via syslogd priority PRIO.

   rad-closelog
 -- Scheme Procedure: rad-closelog
     Closes the channel to the system logger opened by a previous call
     to ‘openlog’.

   radius-sql-query
 -- Scheme Procedure: radius-sql-query type string
     Sends the query STRING to the SQL server identified by TYPE and
     returns a list of the reply tuples.  Allowed values for TYPE are:
     ‘SQL-AUTH’ for authentication database and ‘SQL-ACCT’, for
     accounting database.  The STRING must be a ‘SELECT’-like query.

   radius-sql-run-query
 -- Scheme Procedure: radius-sql-run-query type string
     Sends the query STRING to the SQL server identified by TYPE and
     returns number of affected rows.  Allowed values for TYPE are:
     ‘SQL-AUTH’ for authentication database and ‘SQL-ACCT’, for
     accounting database.  The STRING must be a ‘INSERT’-like query.

   rad-utmp-putent
 -- Scheme Procedure: rad-utmp-putent status delay list radutmp_file
          [radwtmp_file]
     Writes the supplied data to the ‘radutmp’ file RADUTMP_FILE.  The
     RADWTMP_FILE argument, if given, supplies the name of the ‘radwtmp’
     file to append the the constructed entry to.

   rad-directory
 -- Scheme Procedure: rad-directory dir
     Sets radius database directory to DIR

   rad-send-internal
 -- Scheme Procedure: rad-send-internal port code pairs
     Sends request to the currently selected server.  Arguments:
     PORT
          Port to use.  Allowed values: ‘0’, for authentication port,
          ‘1’, for accounting port, and ‘2’, for control port.

          Actual port numbers are those configured for the given server.
     CODE
          Numeric request code.
     PAIRS
          A list of attribute-value pairs.  Each pair is: ‘(cons
          ATTR-NAME-STRING VALUE)’ or ‘(cons ATTR-NUMBER VALUE)’.

     On success, returns ‘(list RETURN-CODE-NUMBER PAIR-LIST)’.  On
     failure returns ‘'()’.

   rad-client-list-servers
 -- Scheme Procedure: rad-client-list-servers
     Returns a list of currently configured servers.  Each element is a
     cons: ‘(SERVER-ID . SERVER-IP)’.

   rad-get-server
 -- Scheme Procedure: rad-get-server
     Returns ID of the currently selected server.

   rad-client-add-server
 -- Scheme Procedure: rad-client-add-server srvlist
     Adds a server described by SRVLIST to the list of configured radius
     servers

   rad-client-set-server
 -- Scheme Procedure: rad-client-set-server srv
     Selects the server described by SRV, which is a list:
          (list ID-STRING HOST-STRING SECRET-STRING AUTH-NUM ACCT-NUM)
     Where:
     ID-STRING
          Server ID.
     HOST-STRING
          Server hostname or IP address.
     SECRET-STRING
          Shared secret key.
     AUTH-NUM
          Authentication port number.
     ACCT-NUM
          Accounting port number.

   rad-client-source-ip
 -- Scheme Procedure: rad-client-source-ip ipaddr
     Sets source IP address for outgoing RADIUS packets.

   rad-client-timeout
 -- Scheme Procedure: rad-client-timeout to
     Sets timeout for waiting for the reply.

   rad-client-retry
 -- Scheme Procedure: rad-client-retry retry
     Sets number of retries for sending requests to a radius server.

   rad-read-no-echo
 -- Scheme Procedure: rad-read-no-echo prompt
     Prints the given prompt string PROMPT, disables echoing, reads a
     string up to the next newline character, restores echoing and
     returns the obtained string.  This is an interface to the C
     getpass(3) function.


Tag Table:

End Tag Table


Local Variables:
coding: utf-8
End:
