diff options
Diffstat (limited to 'src/nslcd_proto/struct_backend.go.sh')
-rwxr-xr-x | src/nslcd_proto/struct_backend.go.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nslcd_proto/struct_backend.go.sh b/src/nslcd_proto/struct_backend.go.sh deleted file mode 100755 index 4728a87..0000000 --- a/src/nslcd_proto/struct_backend.go.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -requests=$1 -cat <<EOF | gofmt -package nslcd_proto - -import "syscall" - -type Backend interface { - $(sed -rn 's/([^_]+)(.*)/\1\2(syscall.Ucred, Request_\1\2) \1_Enumerator/p' "$requests" | grep -v PAM) - $(sed -rn 's/(PAM)(.*)/\1\2(syscall.Ucred, Request_\1\2) \1\2_Enumerator/p' "$requests") -} -EOF |