summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/hackers_parse.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-08-28 20:43:12 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-08-28 20:43:12 -0600
commitb55355121e0ed259097254447f16739b0f3da61d (patch)
tree3149a5cfe50952e9a3ea6c9a9e888b3da72dbfff /src/nshd/hackers_git/hackers_parse.go
parent3c237531f5067340e34b01c7f7ea45fa55c39657 (diff)
implement hackers_watch
Diffstat (limited to 'src/nshd/hackers_git/hackers_parse.go')
-rw-r--r--src/nshd/hackers_git/hackers_parse.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nshd/hackers_git/hackers_parse.go b/src/nshd/hackers_git/hackers_parse.go
new file mode 100644
index 0000000..efc30a5
--- /dev/null
+++ b/src/nshd/hackers_git/hackers_parse.go
@@ -0,0 +1,16 @@
+package hackers_git
+
+import (
+ _ "gopkg.in/yaml.v2"
+ "nslcd_proto"
+)
+
+func load_user_yaml(filename string) (nslcd_proto.Passwd, error) {
+ // TODO
+ return nslcd_proto.Passwd{}, nil
+}
+
+func load_user_password(filename string) string {
+ // TODO
+ return "!"
+}