Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
4895e88d
...
4895e88de82241291d4cebc37b54c478f5bf90a1
authored
2003-01-28 21:41:27 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(_gsasl_get_fd): New function.
(gsasl_stream_create): Install _get_fd method
1 parent
36ed0f22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
auth/gsasl.c
auth/gsasl.c
View file @
4895e88
...
...
@@ -330,6 +330,13 @@ _gsasl_strerror (stream_t stream, const char **pstr)
return
0
;
}
int
_gsasl_get_fd
(
stream_t
stream
,
int
*
pfd
)
{
struct
_gsasl_stream
*
s
=
stream_get_owner
(
stream
);
*
pfd
=
s
->
fd
;
return
0
;
}
int
gsasl_stream_create
(
stream_t
*
stream
,
int
fd
,
...
...
@@ -365,7 +372,7 @@ gsasl_stream_create (stream_t *stream, int fd,
stream_set_flush
(
*
stream
,
_gsasl_flush
,
s
);
stream_set_destroy
(
*
stream
,
_gsasl_destroy
,
s
);
stream_set_strerror
(
*
stream
,
_gsasl_strerror
,
s
);
stream_set_fd
(
*
stream
,
_gsasl_get_fd
,
s
);
if
(
flags
&
MU_STREAM_READ
)
stream_set_readline
(
*
stream
,
_gsasl_readline
,
s
);
else
...
...
Please
register
or
sign in
to post a comment