FireBirdLib - Topfield TMS PVR TAP Programming Library
StringDBCountRecords.c
Go to the documentation of this file.
1
#include "
libFireBird.h
"
2
3
int
StringDBCountRecords
(
tStringDB
*StringDB)
4
{
5
TRACEENTER
();
6
7
int
Cnt;
8
char
*p;
9
10
if
(!StringDB)
11
{
12
TRACEEXIT
();
13
return
0;
14
}
15
16
p = StringDB->
DB
;
17
if
(!p)
18
{
19
TRACEEXIT
();
20
return
0;
21
}
22
23
Cnt = 0;
24
while
(*p)
25
{
26
Cnt++;
27
while
(*p)
28
{
29
p++;
30
}
31
p++;
32
}
33
34
TRACEEXIT
();
35
return
Cnt;
36
}
StringDBCountRecords
int StringDBCountRecords(tStringDB *StringDB)
Definition:
StringDBCountRecords.c:3
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tStringDB
Definition:
libFireBird.h:2547
tStringDB::DB
char * DB
Definition:
libFireBird.h:2549
StringDB
StringDBCountRecords.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3