33 #if !defined(__ELXU_LANCER_H__)
34 #define __ELXU_LANCER_H__
38 typedef struct sli4_object_s {
39 struct sli4_object_s *
next;
54 #endif // __ELXU_LANCER_H__
sli4_object_t * sli4_object_new(const char *name, uint32_t type, uint32_t length)
Instantiate a new sli4_object_t.
void sli4_object_free(sli4_object_t *obj)
Free and sli4_object_t.
int sli4_object_read(elxu_device_t *device, const char *objectName, void *buffer, uint32_t bufferLength)
Read data from an object.
int sli4_object_write(elxu_device_t *device, const char *objectName, int buffer_offset, void *buffer, uint32_t bufferLength, int eofl)
Write data into an object.
int sli4_object_delete(elxu_device_t *device, const char *objectName)
Deletes an SLI4 object.
int sli4_object_length(elxu_device_t *device, const char *objectName)
Return an SLI4 object's length in bytes.
sli4_object_t * sli4_object_enumerate(elxu_device_t *device)
Create a list of all SLI4 objects.
struct sli4_object_s * next
void sli4_object_free_list(sli4_object_t *head)
Free a list of sli4_object_t's.