NCBI C++ ToolKit
Macros | Functions
readpassphrase.h File Reference
#include <config.h>
#include <freetds/pushvis.h>
#include <freetds/popvis.h>
+ Include dependency graph for readpassphrase.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.


#define RPP_ECHO_OFF   0x00 /* Turn off echo (default). */
#define RPP_ECHO_ON   0x01 /* Leave echo on. */
#define RPP_REQUIRE_TTY   0x02 /* Fail if there is no tty. */
#define RPP_FORCELOWER   0x04 /* Force input to lower case. */
#define RPP_FORCEUPPER   0x08 /* Force input to upper case. */
#define RPP_SEVENBIT   0x10 /* Strip the high bit from input. */
#define RPP_STDIN   0x20 /* Read from stdin, not /dev/tty */
#define readpassphrase   tds_readpassphrase


char * tds_readpassphrase (const char *, char *, size_t, int)

Macro Definition Documentation

◆ readpassphrase

#define readpassphrase   tds_readpassphrase

Definition at line 55 of file readpassphrase.h.


#define RPP_ECHO_OFF   0x00 /* Turn off echo (default). */

Definition at line 45 of file readpassphrase.h.


#define RPP_ECHO_ON   0x01 /* Leave echo on. */

Definition at line 46 of file readpassphrase.h.


#define RPP_FORCELOWER   0x04 /* Force input to lower case. */

Definition at line 48 of file readpassphrase.h.


#define RPP_FORCEUPPER   0x08 /* Force input to upper case. */

Definition at line 49 of file readpassphrase.h.


#define RPP_REQUIRE_TTY   0x02 /* Fail if there is no tty. */

Definition at line 47 of file readpassphrase.h.


#define RPP_SEVENBIT   0x10 /* Strip the high bit from input. */

Definition at line 50 of file readpassphrase.h.


#define RPP_STDIN   0x20 /* Read from stdin, not /dev/tty */

Definition at line 51 of file readpassphrase.h.

Function Documentation

◆ tds_readpassphrase()

char* tds_readpassphrase ( const char *  prompt,
char *  buf,
size_t  bufsiz,
int  flags 
Modified on Wed Feb 28 07:11:39 2024 by rev. 669887