summaryrefslogtreecommitdiffstats
path: root/content/posts/WIP-how-bsd-authentication-works/index.org
diff options
context:
space:
mode:
authorDante Catalfamo2020-10-29 12:49:18 -0400
committerDante Catalfamo2020-10-29 12:49:18 -0400
commitdabe67c5b31b63a6037bbe6d0482f800e55012c4 (patch)
tree3cf78fd9a28bf2c1ff01bd38d555c0ea03341ee4 /content/posts/WIP-how-bsd-authentication-works/index.org
parent6ba2a727bbaaf149c628298274a24ff29ba601a5 (diff)
downloadblog-dabe67c5b31b63a6037bbe6d0482f800e55012c4.tar.gz
blog-dabe67c5b31b63a6037bbe6d0482f800e55012c4.tar.bz2
blog-dabe67c5b31b63a6037bbe6d0482f800e55012c4.zip
More auth_subr func
Diffstat (limited to 'content/posts/WIP-how-bsd-authentication-works/index.org')
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org8
1 files changed, 7 insertions, 1 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org
index 15497f1..310be9c 100644
--- a/content/posts/WIP-how-bsd-authentication-works/index.org
+++ b/content/posts/WIP-how-bsd-authentication-works/index.org
@@ -238,9 +238,15 @@
=auth_setoption= initializes a new =authopts= struct, and sets the
=*opt= field to a string formatted as =sprintf(%s=%s, n, v)=. It
- then point the =next= field on the last =authopts= struct in =*as=
+ then point the =*next= field on the last =authopts= struct in =*as=
to its location. It returns =0= on success.
+
** auth_setstate
+ #+begin_src c
+ void auth_setstate(auth_session_t *as, int s)
+ #+end_src
+
+ =auth_setstate= sets the state of =*as= to =s=
* auth_open
#+begin_src c