- renamed connect() to open_reader_and_card()

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@933 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
okir 2003-02-28 11:07:37 +00:00
parent 9fe5baa4b7
commit e13720e391
1 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ typedef int (*pkcs15_encoder)(struct sc_context *,
struct sc_pkcs15_card *, u8 **, size_t *);
/* Local functions */
static int connect(int);
static int open_reader_and_card(int);
static int do_init_app(struct sc_profile *);
static int do_store_pin(struct sc_profile *);
static int do_generate_key(struct sc_profile *, const char *);
@ -271,7 +271,7 @@ main(int argc, char **argv)
}
/* Connect to the card */
if (!connect(opt_reader))
if (!open_reader_and_card(opt_reader))
return 1;
sc_pkcs15init_set_callbacks(&callbacks);
@ -334,7 +334,7 @@ done: if (r < 0) {
}
static int
connect(int reader)
open_reader_and_card(int reader)
{
int r;