gsasl  2.2.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL).
  Fossies Dox: gsasl-2.2.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
callbacks.c File Reference
#include "internal.h"
#include "callbacks.h"
#include "striconv.h"
#include "readline.h"
Include dependency graph for callbacks.c:

Go to the source code of this file.

Functions

static char * locale_to_utf8 (char *str)
 
static char * readutf8line (const char *prompt)
 
char * readutf8pass (const char *prompt)
 
int callback (Gsasl *ctx _GL_UNUSED, Gsasl_session *sctx, Gsasl_property prop)
 

Function Documentation

◆ callback()

◆ locale_to_utf8()

static char * locale_to_utf8 ( char *  str)
static

Definition at line 32 of file callbacks.c.

References free(), and str_iconv().

Referenced by readutf8line(), and readutf8pass().

◆ readutf8line()

static char * readutf8line ( const char *  prompt)
static

Definition at line 53 of file callbacks.c.

References locale_to_utf8(), p, and readline().

Referenced by callback().

◆ readutf8pass()

char * readutf8pass ( const char *  prompt)

Definition at line 61 of file callbacks.c.

References getpass(), locale_to_utf8(), and p.

Referenced by callback(), and mkpasswd().