diff options
author | Dante Catalfamo | 2020-10-29 12:49:18 -0400 |
---|---|---|
committer | Dante Catalfamo | 2020-10-29 12:49:18 -0400 |
commit | dabe67c5b31b63a6037bbe6d0482f800e55012c4 (patch) | |
tree | 3cf78fd9a28bf2c1ff01bd38d555c0ea03341ee4 /content/posts | |
parent | 6ba2a727bbaaf149c628298274a24ff29ba601a5 (diff) | |
download | blog-dabe67c5b31b63a6037bbe6d0482f800e55012c4.tar.gz blog-dabe67c5b31b63a6037bbe6d0482f800e55012c4.tar.bz2 blog-dabe67c5b31b63a6037bbe6d0482f800e55012c4.zip |
More auth_subr func
Diffstat (limited to 'content/posts')
-rw-r--r-- | content/posts/WIP-how-bsd-authentication-works/index.org | 8 |
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 |