]>
jfr.im git - irc/thales.git/blob - src/ffi/definitions.h
1 /* Copyright (C) 2012 Free Software Foundation, Inc.
3 * This file is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public License
5 * as published by the Free Software Foundation; either version 3 of
6 * the License, or (at your option) any later version.
8 * This library is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 #include <guile/2.0/libguile.h>
22 #include <libircclient/libircclient.h>
23 struct scm_t_irc_session
25 irc_session_t
*session
;
27 SCM numeric_dispatcher
;
28 SCM closure
; /* third level of indirection */
31 void scm_throw_from_irc_session (irc_session_t
* session
);
32 char* guarded_scm_to_ascii_string (SCM string_or_false
);
33 irc_session_t
* scm_to_irc_session(SCM scm_session
);