Update `NEWS'.
[gnutls.git] / guile / src / make-session-priorities.scm
blob059254b5f997713d89b8f0056cd8106366294f4c
1 ;;; Help produce Guile wrappers for GnuTLS types.
2 ;;;
3 ;;; GNUTLS --- Guile bindings for GnuTLS.
4 ;;; Copyright (C) 2007  Free Software Foundation
5 ;;;
6 ;;; GNUTLS is free software; you can redistribute it and/or
7 ;;; modify it under the terms of the GNU Lesser General Public
8 ;;; License as published by the Free Software Foundation; either
9 ;;; version 2.1 of the License, or (at your option) any later version.
10 ;;;
11 ;;; GNUTLS is distributed in the hope that it will be useful,
12 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 ;;; Lesser General Public License for more details.
15 ;;;
16 ;;; You should have received a copy of the GNU Lesser General Public
17 ;;; License along with GNUTLS; if not, write to the Free Software
18 ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
20 ;;; Written by Ludovic Courtès <ludo@chbouib.org>.
23 (use-modules (gnutls build priorities))
26 ;;;
27 ;;; The program.
28 ;;;
30 (define (main . args)
31   (let ((port (current-output-port)))
32     (for-each (lambda (priority)
33                 (output-session-set-priority-function priority port))
34               %gnutls-priorities)))
36 (main)
38 ;;; Local Variables:
39 ;;; mode: scheme
40 ;;; coding: latin-1
41 ;;; End:
43 ;;; arch-tag: 026228de-e6d6-421b-bf2f-aaf9630d6b73