Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
irias_object.h File Reference
#include <net/irda/irda.h>
#include <net/irda/irqueue.h>

Go to the source code of this file.

Data Structures

struct  ias_object
 
struct  ias_value
 
struct  ias_attrib
 

Macros

#define IAS_MISSING   0
 
#define IAS_INTEGER   1
 
#define IAS_OCT_SEQ   2
 
#define IAS_STRING   3
 
#define IAS_KERNEL_ATTR   0
 
#define IAS_USER_ATTR   1
 

Functions

struct ias_objectirias_new_object (char *name, int id)
 
void irias_insert_object (struct ias_object *obj)
 
int irias_delete_object (struct ias_object *obj)
 
int irias_delete_attrib (struct ias_object *obj, struct ias_attrib *attrib, int cleanobject)
 
void __irias_delete_object (struct ias_object *obj)
 
void irias_add_integer_attrib (struct ias_object *obj, char *name, int value, int user)
 
void irias_add_string_attrib (struct ias_object *obj, char *name, char *value, int user)
 
void irias_add_octseq_attrib (struct ias_object *obj, char *name, __u8 *octets, int len, int user)
 
int irias_object_change_attribute (char *obj_name, char *attrib_name, struct ias_value *new_value)
 
struct ias_objectirias_find_object (char *name)
 
struct ias_attribirias_find_attrib (struct ias_object *obj, char *name)
 
struct ias_valueirias_new_string_value (char *string)
 
struct ias_valueirias_new_integer_value (int integer)
 
struct ias_valueirias_new_octseq_value (__u8 *octseq, int len)
 
struct ias_valueirias_new_missing_value (void)
 
void irias_delete_value (struct ias_value *value)
 

Variables

struct ias_value irias_missing
 
hashbin_tirias_objects
 

Macro Definition Documentation

#define IAS_INTEGER   1

Definition at line 33 of file irias_object.h.

#define IAS_KERNEL_ATTR   0

Definition at line 38 of file irias_object.h.

#define IAS_MISSING   0

Definition at line 32 of file irias_object.h.

#define IAS_OCT_SEQ   2

Definition at line 34 of file irias_object.h.

#define IAS_STRING   3

Definition at line 35 of file irias_object.h.

#define IAS_USER_ATTR   1

Definition at line 39 of file irias_object.h.

Function Documentation

void __irias_delete_object ( struct ias_object obj)

Definition at line 106 of file irias_object.c.

void irias_add_integer_attrib ( struct ias_object obj,
char name,
int  value,
int  user 
)

Definition at line 314 of file irias_object.c.

void irias_add_octseq_attrib ( struct ias_object obj,
char name,
__u8 octets,
int  len,
int  user 
)

Definition at line 356 of file irias_object.c.

void irias_add_string_attrib ( struct ias_object obj,
char name,
char value,
int  user 
)

Definition at line 398 of file irias_object.c.

int irias_delete_attrib ( struct ias_object obj,
struct ias_attrib attrib,
int  cleanobject 
)

Definition at line 154 of file irias_object.c.

int irias_delete_object ( struct ias_object obj)

Definition at line 127 of file irias_object.c.

void irias_delete_value ( struct ias_value value)

Definition at line 542 of file irias_object.c.

struct ias_attrib* irias_find_attrib ( struct ias_object obj,
char name 
)
read

Definition at line 219 of file irias_object.c.

struct ias_object* irias_find_object ( char name)
read

Definition at line 204 of file irias_object.c.

void irias_insert_object ( struct ias_object obj)

Definition at line 189 of file irias_object.c.

struct ias_value* irias_new_integer_value ( int  integer)
read

Definition at line 440 of file irias_object.c.

struct ias_value* irias_new_missing_value ( void  )
read

Definition at line 521 of file irias_object.c.

struct ias_object* irias_new_object ( char name,
int  id 
)
read

Definition at line 47 of file irias_object.c.

struct ias_value* irias_new_octseq_value ( __u8 octseq,
int  len 
)
read

Definition at line 496 of file irias_object.c.

struct ias_value* irias_new_string_value ( char string)
read

Definition at line 465 of file irias_object.c.

int irias_object_change_attribute ( char obj_name,
char attrib_name,
struct ias_value new_value 
)

Definition at line 262 of file irias_object.c.

Variable Documentation

struct ias_value irias_missing

Definition at line 38 of file irias_object.c.

hashbin_t* irias_objects

Definition at line 33 of file irias_object.c.