Core API Reference - Basic Types
Desktop Apps Training - Policy Kit

Basic types

Basic types — Type definitions for common primitive types.

 

Synopsis



#define POLKIT_BEGIN_DECLS
#define POLKIT_END_DECLS
#define POLKIT_GNUC_DEPRECATED
typedef polkit_bool_t;
typedef polkit_uint32_t;
typedef polkit_uint64_t;

Description

Type definitions for common primitive types.

 

Details

POLKIT_BEGIN_DECLS

#define             POLKIT_BEGIN_DECLS

C++ include header guard.

 


POLKIT_END_DECLS

#define             POLKIT_END_DECLS

C++ include header guard.

 


POLKIT_GNUC_DEPRECATED

#define             POLKIT_GNUC_DEPRECATED

Used in front of deprecated functions.

 


polkit_bool_t

typedef int polkit_bool_t;

A boolean, valid values are TRUE and FALSE.

 


polkit_uint32_t

typedef unsigned int polkit_uint32_t;

Type for unsigned 32 bit integer.

 


polkit_uint64_t

typedef unsigned long long polkit_uint64_t;

Type for unsigned 64 bit integer.