FireBirdLib - Topfield TMS PVR TAP Programming Library
FlashFavoritesGetSelectedGroupName.c
Go to the documentation of this file.
1
#include <string.h>
2
#include "
libFireBird.h
"
3
4
//Minimum size of FavName should be 12
5
char
*
FlashFavoritesGetSelectedGroupName
(
char
*FavName,
byte
FavNameSize)
6
{
7
TRACEENTER
();
8
9
tFavorites
Favorites;
10
11
if
(FavName && FavNameSize)
12
{
13
if
(
FlashFavoritesGetInfoCurrent
(&Favorites))
14
{
15
strncpy(FavName, Favorites.
GroupName
, FavNameSize - 1);
16
FavName[FavNameSize - 1] =
'\0'
;
17
}
18
else
19
FavName[0] =
'\0'
;
20
}
21
22
TRACEEXIT
();
23
return
FavName;
24
}
FlashFavoritesGetInfoCurrent
bool FlashFavoritesGetInfoCurrent(tFavorites *Favorites)
Definition:
FlashFavoritesGetInfoCurrent.c:4
FlashFavoritesGetSelectedGroupName
char * FlashFavoritesGetSelectedGroupName(char *FavName, byte FavNameSize)
Definition:
FlashFavoritesGetSelectedGroupName.c:5
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tFavorites
Definition:
libFireBird.h:1732
tFavorites::GroupName
char GroupName[12]
Definition:
libFireBird.h:1733
flash
FlashFavoritesGetSelectedGroupName.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3