MHEG5
18.9.0
MHEG5 Documentation
Main Page
Related Pages
Classes
Files
File List
File Members
source
core
inc
mh5access.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3
* Copyright © 2010 Ocean Blue Software Ltd
4
*
5
* This file is part of a DTVKit Software Component
6
* You are permitted to copy, modify or distribute this file subject to the terms
7
* of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8
*
9
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11
* OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12
*
13
* If you or your organisation is not a member of DTVKit then you have access
14
* to this source code outside of the terms of the licence agreement
15
* and you are expected to delete this and any associated files immediately.
16
* Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17
*******************************************************************************/
25
#ifndef MH5_ACCESS_H
26
#define MH5_ACCESS_H
27
28
29
/*---includes for this file--------------------------------------------------*/
30
31
/*---Constant and macro definitions for public use---------------------------*/
32
33
/*---Enumerations for public use---------------------------------------------*/
34
35
/*---Global type defs for public use-----------------------------------------*/
36
typedef
enum
37
{
38
SERVER_ACCESS_BLOCKED
,
39
SERVER_ACCESS_PERMITTED_NO_AUTH
,
40
SERVER_ACCESS_PERMITTED_AUTH
,
41
SERVER_ACCESS_PENDING
42
}
MHEG5ServerAccess_t
;
43
44
/*---Global variable declarations for public use-----------------------------*/
45
46
/*---Global Function prototypes for public use-------------------------------*/
47
57
MHEG5ServerAccess_t
MHEG5CheckServerPermitted
(
U8BIT
*url);
58
63
void
MHEG5ResetServerAccess
(
void
);
64
65
72
void
MHEG5AddServerAccessCallback
(
void
(*LoadNotifyCallback)(
void
));
73
74
#endif
/* MH5_ACCESS_H */
MHEG5ServerAccess_t
MHEG5ServerAccess_t
Definition:
mh5access.h:36
SERVER_ACCESS_PENDING
Definition:
mh5access.h:41
U8BIT
uint8_t U8BIT
Definition:
techtype.h:82
MHEG5AddServerAccessCallback
void MHEG5AddServerAccessCallback(void(*LoadNotifyCallback)(void))
Add callback function to be called when the server access permission file is loaded.
Definition:
mh5access.c:344
MHEG5CheckServerPermitted
MHEG5ServerAccess_t MHEG5CheckServerPermitted(U8BIT *url)
Definition:
mh5access.c:111
SERVER_ACCESS_BLOCKED
Definition:
mh5access.h:38
SERVER_ACCESS_PERMITTED_AUTH
Definition:
mh5access.h:40
MHEG5ResetServerAccess
void MHEG5ResetServerAccess(void)
Reset the cachedserver access permission file.
Definition:
mh5access.c:323
SERVER_ACCESS_PERMITTED_NO_AUTH
Definition:
mh5access.h:39
Generated by
1.8.11