diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-12-12 11:04:07 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-12-12 11:04:07 +0100 |
commit | 5fef443b54a26a69be9ccdd22b44c62ecb133abc (patch) | |
tree | bcb3118c37451f41a87339990a076eb89ea33133 /example.lua | |
download | privsep-5fef443b54a26a69be9ccdd22b44c62ecb133abc.tar.bz2 privsep-5fef443b54a26a69be9ccdd22b44c62ecb133abc.tar.xz |
initial prototype
Diffstat (limited to 'example.lua')
-rw-r--r-- | example.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/example.lua b/example.lua new file mode 100644 index 0000000..324df49 --- /dev/null +++ b/example.lua @@ -0,0 +1,9 @@ + +privsep = require("privsep") + +mymod = privsep.wrap("mymod", "mysessionid") + +print(mymod.myfunc("foo", false)) + + + |