FreeRDP
|
#include <freerdp/config.h>
#include <freerdp/freerdp.h>
#include <errno.h>
#include <freerdp/utils/passphrase.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
#include <freerdp/utils/signal.h>
#include <time.h>
#include <sys/select.h>
Functions | |
static int | wait_for_fd (int fd, int timeout) |
static void | replace_char (char *buffer, size_t buffer_len, const char *toreplace) |
static char * | freerdp_passphrase_read_tty (rdpContext *context, const char *prompt, char *buf, size_t bufsiz, int from_stdin) |
static char * | freerdp_passphrase_read_askpass (const char *prompt, char *buf, size_t bufsiz, char const *askpass_env) |
char * | freerdp_passphrase_read (rdpContext *context, const char *prompt, char *buf, size_t bufsiz, int from_stdin) |
int | freerdp_interruptible_getc (rdpContext *context, FILE *f) |
SSIZE_T | freerdp_interruptible_get_line (rdpContext *context, char **plineptr, size_t *psize, FILE *stream) |
SSIZE_T freerdp_interruptible_get_line | ( | rdpContext * | context, |
char ** | plineptr, | ||
size_t * | psize, | ||
FILE * | stream | ||
) |
int freerdp_interruptible_getc | ( | rdpContext * | context, |
FILE * | file | ||
) |
FreeRDP: A Remote Desktop Protocol Implementation Passphrase Handling Utils
Copyright 2011 Shea Levy shea@ shea levy. com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
char* freerdp_passphrase_read | ( | rdpContext * | context, |
const char * | prompt, | ||
char * | buf, | ||
size_t | bufsiz, | ||
int | from_stdin | ||
) |
|
static |
|
static |
|
static |
|
static |
FreeRDP: A Remote Desktop Protocol Implementation Passphrase Handling Utils
Copyright 2011 Shea Levy shea@ shea levy. com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.