lib/replace/getpass.c

ソースコードを見る。

型定義

typedef int sig_atomic_t

関数

char * getsmbpass (const char *prompt)
static int tcgetattr (int fd, struct termio *_t)
static int tcsetattr (int fd, int flags, struct termio *_t)
static int tcgetattr (int fd, struct sgttyb *_t)
static int tcsetattr (int fd, int flags, struct sgttyb *_t)
static void catch_signal (int signum, void(*handler)(int))
void getsmbpasswd_dummy (void)

変数

static struct termio t
static struct sgttyb t
static struct termios t


型定義

typedef int sig_atomic_t

getpass.c55 行で定義されています。


関数

char * getsmbpass ( const char *  prompt  ) 

getpass.c29 行で定義されています。

00030 {
00031         return getpassphrase(prompt);
00032 }

static int tcgetattr ( int  fd,
struct termio *  _t 
) [static]

getpass.c86 行で定義されています。

参照元 dochild().

00087 {
00088         return ioctl(fd, TCGETA, _t);
00089 }

static int tcsetattr ( int  fd,
int  flags,
struct termio *  _t 
) [static]

getpass.c91 行で定義されています。

参照元 dochild().

00092 {
00093         if(flags & TCSAFLUSH)
00094                 ioctl(fd, TCFLSH, TCIOFLUSH);
00095         return ioctl(fd, TCSETS, _t);
00096 }

static int tcgetattr ( int  fd,
struct sgttyb *  _t 
) [static]

getpass.c111 行で定義されています。

00112 {
00113         return ioctl(fd, TIOCGETP, (char *)_t);
00114 }

static int tcsetattr ( int  fd,
int  flags,
struct sgttyb *  _t 
) [static]

getpass.c116 行で定義されています。

00117 {
00118         return ioctl(fd, TIOCSETP, (char *)_t);
00119 }

static void catch_signal ( int  signum,
void(*)(int)  handler 
) [static]

getpass.c129 行で定義されています。

00130 {
00131 #ifdef HAVE_SIGACTION
00132         struct sigaction act;
00133         struct sigaction oldact;
00134 
00135         memset(&act, 0, sizeof(act));
00136 
00137         act.sa_handler = handler;
00138 #ifdef SA_RESTART
00139         /*
00140          * We *want* SIGALRM to interrupt a system call.
00141          */
00142         if(signum != SIGALRM)
00143                 act.sa_flags = SA_RESTART;
00144 #endif
00145         sigemptyset(&act.sa_mask);
00146         sigaddset(&act.sa_mask,signum);
00147         sigaction(signum,&act,&oldact);
00148         return oldact.sa_handler;
00149 #else /* !HAVE_SIGACTION */
00150         /* FIXME: need to handle sigvec and systems with broken signal() */
00151         return signal(signum, handler);
00152 #endif
00153 }

void getsmbpasswd_dummy ( void   ) 

getpass.c224 行で定義されています。

00224 {;}


変数

struct termio t [static]

getpass.c72 行で定義されています。

参照元 _srv_net_remote_tod()account_show()add_to_file_list()ads_krb5_mk_req()afs_decode_token()api_NetRemoteTOD()bsd_attr_list()byteReverse()construct_printer_info_0()convert_time_t_to_timespec()create_policy_hnd()create_workgroup()current_timestring()dfs_auth()display_finfo()display_stat()dns_negotiate_gss_ctx_int()EntryTime()expandNextArg()fetch_group_mem_info()fill_job_info_1()fill_job_info_2()fill_printjob_info()gencache_get()get_sequence_for_reply()get_ticket_cache()idmap_cache_map_id()idmap_cache_map_sid()init_sec_ace()logon_hours_ok()LPRng_time()lsa_io_dom_r_ref()lsa_io_trans_names()lsa_io_trans_names2()make_auth_context_text_list()make_dos_date()make_pw_chat()make_unix_date3()MD5Update()multihomed_register_name()net_time()net_time_set()net_time_system()net_time_zone()netsamlogon_cache_get()netsamlogon_cache_store()nt_time_string()poptConfigFileToString()poptGetContext()print_time_access_check()process()pull_dos_date3()readline_callback()refresh_sequence_number()reply_lanman1()reply_lanman2()reply_nt1()resolve_wins()run_attrtest()run_nbench()run_test()set_sequence_can_delete_flag()singleOptionHelp()smb_arc4_crypt()smb_io_utime()smb_pam_passchange_conv()smbldap_delete_state()smbldap_find_state()smbldap_store_state()spoolss_notify_submitted_time()store_sequence_for_reply()str_list_substitute()talloc_sub_advanced()talloc_sub_basic()timeout_processing()timeval_until()wcache_get_creds()wcache_remove_oldest_cached_creds()wins_processing_traverse_fn()wins_refresh_name()wins_release_name().

struct sgttyb t [static]

getpass.c102 行で定義されています。

struct termios t [static]

getpass.c126 行で定義されています。


Sambaに対してSat Aug 29 21:23:36 2009に生成されました。  doxygen 1.4.7