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.o: util-csv.import.scm
|
||||||
util-csv.import.scm: $(UTIL-CSV-SOURCES)
|
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.o: bank-account.import.scm
|
||||||
bank-account.import.scm: $(BANK-ACCOUNT-SOURCES)
|
bank-account.import.scm: $(BANK-ACCOUNT-SOURCES)
|
||||||
|
|
|
@ -78,6 +78,14 @@
|
||||||
(mailman-bin bin)
|
(mailman-bin bin)
|
||||||
args))
|
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
|
;; Returns the list of available lists
|
||||||
(define (list-mailman-lists)
|
(define (list-mailman-lists)
|
||||||
(get-mailman-output-lines "list_lists" "-b"))
|
(get-mailman-output-lines "list_lists" "-b"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue