summaryrefslogtreecommitdiff
path: root/clients/bscmd.scm
blob: a7feb4232f096c61ff5ebb260e93afabf1fdfaa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
;;; A tiny little control utility for baresip, written in CHICKEN Scheme.
;;; This won't work out of the box right now, because the port of
;;; netstring to CHICKEN 5 hasn't been published.
;;; Usage:
;;; bscmd COMMAND [parameter-string]
;;; bscmd
;;; When called without arguments, displays the stream of events from baresip.

(import (chicken random) srfi-1 (chicken port) base64 brev-separate define-options anaphora json matchable netstring socket)

(include "bscmd.brev")