API published in: S60 2nd Ed FP 2
Required Capabilities
DRM LocalServices NetworkControl NetworkServices ReadDeviceData ReadUserData SwEvent UserEnvironment WriteDeviceData WriteUserData
Exceptions
#include "prcpucfg.h"
#include <stddef.h>
#include "obsolete/protypes.h"
Go to the source code of this file.
Defines |
|
| #define | PR_EXPORT(__type) extern _declspec(dllexport) __type |
| #define | PR_EXPORT_DATA(__type) extern _declspec(dllexport) __type |
| #define | PR_IMPORT(__type) _declspec(dllimport) __type |
| #define | PR_IMPORT_DATA(__type) _declspec(dllimport) __type |
| #define | PR_EXTERN(__type) extern _declspec(dllexport) __type |
| #define | PR_IMPLEMENT(__type) _declspec(dllexport) __type |
| #define | PR_EXTERN_DATA(__type) extern _declspec(dllexport) __type |
| #define | PR_IMPLEMENT_DATA(__type) _declspec(dllexport) __type |
| #define | PR_CALLBACK |
| #define | PR_CALLBACK_DECL |
| #define | PR_STATIC_CALLBACK(__x) static __x |
| #define | NSPR_API(__type) PR_IMPORT(__type) |
| #define | NSPR_DATA_API(__type) PR_IMPORT_DATA(__type) |
| #define | PR_BEGIN_MACRO do { |
| #define | PR_END_MACRO } while (0) |
| #define | PR_BEGIN_EXTERN_C |
| #define | PR_END_EXTERN_C |
| #define | PR_BIT(n) ((PRUint32)1 << (n)) |
| #define | PR_BITMASK(n) (PR_BIT(n) - 1) |
| #define | PR_ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) |
| #define | PR_MIN(x, y) ((x)<(y)?(x):(y)) |
| #define | PR_MAX(x, y) ((x)>(y)?(x):(y)) |
| #define | PR_ABS(x) ((x)<0?-(x):(x)) |
| #define | PR_INT8_MAX 127 |
| #define | PR_INT8_MIN (-128) |
| #define | PR_UINT8_MAX 255U |
| #define | PR_INT16_MAX 32767 |
| #define | PR_INT16_MIN (-32768) |
| #define | PR_UINT16_MAX 65535U |
| #define | PR_INT32_MAX PR_INT32(2147483647) |
| #define | PR_INT32_MIN (-PR_INT32_MAX - 1) |
| #define | PR_UINT32_MAX PR_UINT32(4294967295) |
| #define | PR_TRUE 1 |
| #define | PR_FALSE 0 |
| #define | PR_PUBLIC_API PR_IMPLEMENT |
| #define | NSPR_BEGIN_MACRO do { |
| #define | NSPR_END_MACRO } while (0) |
| #define | NSPR_BEGIN_EXTERN_C |
| #define | NSPR_END_EXTERN_C |
Typedefs |
|
| typedef __int64 | PRInt64 |
| typedef unsigned __int64 | PRUint64 |
| typedef double | PRFloat64 |
| typedef size_t | PRSize |
| typedef PRInt32 | PROffset32 |
| typedef PRInt64 | PROffset64 |
| typedef ptrdiff_t | PRPtrdiff |
| typedef unsigned long | PRUptrdiff |
| typedef PRIntn | PRBool |
| typedef PRUint8 | PRPackedBool |
| typedef long | PRWord |
| typedef unsigned long | PRUword |
Enumerations |
|
| enum | PRStatus { PR_FAILURE = -1, PR_SUCCESS = 0 } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|