sc_set_card_driver man page on SuSE

Man page or keyword search:  
man Server   14857 pages
apropos Keyword Search (all sections)
Output format
SuSE logo
[printable version]

SC_SET_CARD_DRIVER(3)	     OpenSC API reference	 SC_SET_CARD_DRIVER(3)

NAME
       sc_set_card_driver - Force the use of a specified smart card driver

SYNOPSIS
	   #include <opensc.h>

	   int sc_set_card_driver(struct sc_context *ctx, const char *short_name);

DESCRIPTION
       This function forces the use of a a specific card driver to be used in
       context ctx. The name of the driver is specified in short_name.
       Possible options are:

	   etoken

	   flex

	   cyberflex

	   gpk

	   miocos

	   mcrd

	   setcos

	   starcos

	   tcos

	   openpgp

	   jcop

	   oberthur

	   belpic

	   emv

       This function only needs to be called if OpenSC fails to auto-detect
       your card. If used, it should be called immediately after establishing
       a new context with sc_establish_context(), but before doing anything
       else with the context.

RETURN VALUE
       If an error occurred, a negative value is returned indicating the
       error. Otherwise, 0 is returned.

opensc				  08/27/2008		 SC_SET_CARD_DRIVER(3)
[top]

List of man pages available for SuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net