| 1 |
;;; Help produce Guile wrappers for GnuTLS types. |
| 2 |
;;; |
| 3 |
;;; GnuTLS --- Guile bindings for GnuTLS. |
| 4 |
;;; Copyright (C) 2007-2025 Free Software Foundation, Inc. |
| 5 |
;;; |
| 6 |
;;; This file is part of Guile-GnuTLS. |
| 7 |
;;; |
| 8 |
;;; This library is free software; you can redistribute it and/or |
| 9 |
;;; modify it under the terms of the GNU Lesser General Public |
| 10 |
;;; License as published by the Free Software Foundation; either |
| 11 |
;;; version 2.1 of the License, or (at your option) any later version. |
| 12 |
;;; |
| 13 |
;;; This library is distributed in the hope that it will be useful, |
| 14 |
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
;;; Lesser General Public License for more details. |
| 17 |
;;; |
| 18 |
;;; You should have received a copy of the GNU Lesser General Public |
| 19 |
;;; License along with this library; if not, see <https://www.gnu.org/licenses/>. |
| 20 |
|
| 21 |
;;; Written by Ludovic Courtès <[email protected]>. |
| 22 |
|
| 23 |
|
| 24 |
(use-modules (gnutls build smobs)) |
| 25 |
|
| 26 |
|
| 27 |
;;; |
| 28 |
;;; The program. |
| 29 |
;;; |
| 30 |
|
| 31 |
(define (main . args) |
| 32 |
(let ((port (current-output-port))) |
| 33 |
(for-each (lambda (type) |
| 34 |
(output-smob-type-definition type port) |
| 35 |
(output-smob-type-predicate type port)) |
| 36 |
%gnutls-smobs))) |
| 37 |
|
| 38 |
(apply main (cdr (command-line))) |
| 39 |
|
| 40 |
;;; Local Variables: |
| 41 |
;;; mode: scheme |
| 42 |
;;; coding: utf-8 |
| 43 |
;;; End: |
| 44 |
|
| 45 |
;;; arch-tag: 364811a0-6d0a-431a-ae50-d2f7dc529903 |