SASC-NG
DVBSoftCAM

cInfoStr Class Reference

#include <smartcard.h>

Inheritance diagram for cInfoStr:

List of all members.

Public Member Functions

 cInfoStr (void)
 ~cInfoStr ()
bool Get (char *buff, int len)
void Begin (void)
void Finish ()

Detailed Description

Definition at line 48 of file smartcard.h.


Constructor & Destructor Documentation

cInfoStr::cInfoStr ( void  )

Definition at line 1835 of file smartcard.c.

:cLineBuff(256)
{
  current=0;
}
cInfoStr::~cInfoStr ( )

Definition at line 1841 of file smartcard.c.

References free.

{
  free(current);
}

Member Function Documentation

void cInfoStr::Finish ( )
bool cInfoStr::Get ( char *  buff,
int  len 
)

Definition at line 1846 of file smartcard.c.

References strn0cpy().

Referenced by cSmartCard::GetCardInfoStr().

{
  cMutexLock lock(&mutex);
  if(current && current[0]) {
    strn0cpy(buff,current,len);
    return true;
    }
  return false;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines