aboutsummaryrefslogtreecommitdiff
path: root/src/repl-connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl-connection.h')
-rw-r--r--src/repl-connection.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/repl-connection.h b/src/repl-connection.h
index 8245c38..f8b82f6 100644
--- a/src/repl-connection.h
+++ b/src/repl-connection.h
@@ -26,7 +26,9 @@
typedef struct _replconnection ReplConnection;
-extern ReplConnection *repl_connection_new(const char *socket);
+extern ReplConnection *repl_connection_new(const char *socket,
+ void (*process_func)(SCM sexp, void *data),
+ void *data);
extern int repl_send(ReplConnection *repl, const char *line);
#endif /* REPL_CONNECTION_H */