diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-07 23:28:47 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-08 16:55:55 -0400 |
commit | b58ea042394c66eabe67c3f58906c5d76b1e119d (patch) | |
tree | db1f55fb187504c7866b81c33ce0dc1489135da5 /nslcd_proto | |
parent | e7b6b3a7ae2e53d807e14697708c4110c038303b (diff) |
nslcd_{server,systemd}: FIX, BREAKING CHANGE: add limits
Added types:
nslcd_server: type Limits struct { ...}
nslcd_server: type Conn interface{ ... } // a subset of net.Conn
nslcd_server.HandleRequest() signature change:
-func HandleRequest(backend Backend, in io.Reader, out io.Writer, cred unix.Ucred) (err error) {
+func HandleRequest(backend Backend, limits Limits, conn Conn, cred unix.Ucred) (err error) {
The `limits Limits` argument is added, and `conn Conn` replaces `in io.Reader` and `out io.Writer`.
nslcd_systemd.Main() signature change:
-func Main(backend Backend) uint8 {
+func Main(backend Backend, limits nslcd_server.Limits) uint8 {
The `limits Limits` argument is added.
Diffstat (limited to 'nslcd_proto')
0 files changed, 0 insertions, 0 deletions