sc_card_valid(3) Check if a card is valid

SYNOPSIS


#include <opensc.h>
int sc_card_valid(const sc_card_t *card);

DESCRIPTION

Checks if card is a valid sc_card_t object. Mostly used internally by the library.

RETURN VALUE

Returns 1 if card is a valid object.