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

Go to the source code of this file.

Functions

struct ias_objectirias_new_object (char *name, int id)
 
 EXPORT_SYMBOL (irias_new_object)
 
void __irias_delete_object (struct ias_object *obj)
 
int irias_delete_object (struct ias_object *obj)
 
 EXPORT_SYMBOL (irias_delete_object)
 
int irias_delete_attrib (struct ias_object *obj, struct ias_attrib *attrib, int cleanobject)
 
void irias_insert_object (struct ias_object *obj)
 
 EXPORT_SYMBOL (irias_insert_object)
 
struct ias_objectirias_find_object (char *name)
 
 EXPORT_SYMBOL (irias_find_object)
 
struct ias_attribirias_find_attrib (struct ias_object *obj, char *name)
 
int irias_object_change_attribute (char *obj_name, char *attrib_name, struct ias_value *new_value)
 
 EXPORT_SYMBOL (irias_object_change_attribute)
 
void irias_add_integer_attrib (struct ias_object *obj, char *name, int value, int owner)
 
 EXPORT_SYMBOL (irias_add_integer_attrib)
 
void irias_add_octseq_attrib (struct ias_object *obj, char *name, __u8 *octets, int len, int owner)
 
 EXPORT_SYMBOL (irias_add_octseq_attrib)
 
void irias_add_string_attrib (struct ias_object *obj, char *name, char *value, int owner)
 
 EXPORT_SYMBOL (irias_add_string_attrib)
 
struct ias_valueirias_new_integer_value (int integer)
 
 EXPORT_SYMBOL (irias_new_integer_value)
 
struct ias_valueirias_new_string_value (char *string)
 
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)
 
 EXPORT_SYMBOL (irias_delete_value)
 

Variables

hashbin_tirias_objects
 
struct ias_value irias_missing = { IAS_MISSING, 0, 0, 0, {0}}
 

Function Documentation

void __irias_delete_object ( struct ias_object obj)

Definition at line 106 of file irias_object.c.

EXPORT_SYMBOL ( irias_new_object  )
EXPORT_SYMBOL ( irias_delete_object  )
EXPORT_SYMBOL ( irias_insert_object  )
EXPORT_SYMBOL ( irias_find_object  )
EXPORT_SYMBOL ( irias_object_change_attribute  )
EXPORT_SYMBOL ( irias_add_integer_attrib  )
EXPORT_SYMBOL ( irias_add_octseq_attrib  )
EXPORT_SYMBOL ( irias_add_string_attrib  )
EXPORT_SYMBOL ( irias_new_integer_value  )
EXPORT_SYMBOL ( irias_delete_value  )
void irias_add_integer_attrib ( struct ias_object obj,
char name,
int  value,
int  owner 
)

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  owner 
)

Definition at line 356 of file irias_object.c.

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

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 = { IAS_MISSING, 0, 0, 0, {0}}

Definition at line 38 of file irias_object.c.

hashbin_t* irias_objects

Definition at line 33 of file irias_object.c.