|
|
Paraslash Audio Streaming |
| About News Download Documentation Development |
Attribute handling functions.
Functions | |
| int | attr_name_to_bitnum (const char *att_name) |
| EXPORT_SERVER_CMD_HANDLER (lsatt) | |
| int | attr_get_defined_mask (uint64_t *result) |
| EXPORT_SERVER_CMD_HANDLER (addatt) | |
| EXPORT_SERVER_CMD_HANDLER (mvatt) | |
| EXPORT_SERVER_CMD_HANDLER (rmatt) | |
| int | attr_get_max_bitnum (void) |
| int | attr_bitmap_to_text (uint64_t *atts, char **text) |
Enumerations | |
| enum | attribute_table_columns { ATTCOL_BITNUM, ATTCOL_NAME, NUM_ATT_COLUMNS } |
Variables | |
| const struct afs_table_operations | attr_ops |
| int attr_name_to_bitnum | ( | const char * | att_name | ) |
Retrieve the bit number of the named attribute.
| att_name | The name of the attribute. |
Referenced by mp_is_set().
| EXPORT_SERVER_CMD_HANDLER | ( | lsatt | ) |
| int attr_get_defined_mask | ( | uint64_t * | result | ) |
Compute the mask of all bits which correspond to a defined attribute.
| result | The bitmask is returned here. |
Referenced by aft_check_callback().
| EXPORT_SERVER_CMD_HANDLER | ( | addatt | ) |
| EXPORT_SERVER_CMD_HANDLER | ( | mvatt | ) |
| EXPORT_SERVER_CMD_HANDLER | ( | rmatt | ) |
| int attr_get_max_bitnum | ( | void | ) |
Get the highest bit number that is associated with an attribute.
| int attr_bitmap_to_text | ( | uint64_t * | atts, |
| char ** | text | ||
| ) |
Get a string containing the set attributes in text form.
| atts | The attribute bitmap. |
| text | Result pointer. |
If more than one bit is set in the given bitmap, the corresponding attribute names are separated by space characters.
| const struct afs_table_operations attr_ops |
The attribute table stores name/bitnum pairs.