Allow bi-directional communication with mailman.
This commit is contained in:
parent
6247ffbca5
commit
5d7e4a0117
2 changed files with 9 additions and 1 deletions
|
@ -214,7 +214,7 @@ UTIL-CSV-SOURCES=util-csv.scm testing.import.scm \
|
|||
util-csv.o: util-csv.import.scm
|
||||
util-csv.import.scm: $(UTIL-CSV-SOURCES)
|
||||
|
||||
BANK-ACCOUNT-SOURCES=bank-account.scm
|
||||
BANK-ACCOUNT-SOURCES=bank-account.scm util-tag.import.scm
|
||||
|
||||
bank-account.o: bank-account.import.scm
|
||||
bank-account.import.scm: $(BANK-ACCOUNT-SOURCES)
|
||||
|
|
|
@ -78,6 +78,14 @@
|
|||
(mailman-bin bin)
|
||||
args))
|
||||
|
||||
;; Sends all lines to the process
|
||||
(define (mailman-send/recv bin args . lines)
|
||||
(apply
|
||||
process-send/recv
|
||||
(mailman-bin bin)
|
||||
args
|
||||
lines))
|
||||
|
||||
;; Returns the list of available lists
|
||||
(define (list-mailman-lists)
|
||||
(get-mailman-output-lines "list_lists" "-b"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue