Sha256: 4b009179a6a8ef43bc32a8563f5927ec6138801814bdfa18ba3bd01f5e4664d5

Contents?: true

Size: 1.37 KB

Versions: 8

Compression:

Stored size: 1.37 KB

Contents

#ifndef _RL_TYPE_LIST_H
#define _RL_TYPE_LIST_H

#include "page_list.h"

#define RL_TYPE_LIST 'L'

struct rlite;

int rl_push(struct rlite *db, const unsigned char *key, long keylen, int create, int left, int valuec, unsigned char **values, long *valueslen, long *size);
int rl_llen(struct rlite *db, const unsigned char *key, long keylen, long *len);
int rl_pop(struct rlite *db, const unsigned char *key, long keylen, unsigned char **value, long *valuelen, int left);
int rl_lindex(struct rlite *db, const unsigned char *key, long keylen, long index, unsigned char **value, long *valuelen);
int rl_linsert(struct rlite *db, const unsigned char *key, long keylen, int after, unsigned char *pivot, long pivotlen, unsigned char *value, long valuelen, long *size);
int rl_lrange(struct rlite *db, const unsigned char *key, long keylen, long start, long stop, long *size, unsigned char ***values, long **valueslen);
int rl_lrem(struct rlite *db, const unsigned char *key, long keylen, int direction, long maxcount, unsigned char *value, long valuelen, long *count);
int rl_lset(struct rlite *db, const unsigned char *key, long keylen, long index, unsigned char *value, long valuelen);
int rl_ltrim(struct rlite *db, const unsigned char *key, long keylen, long start, long stop);

int rl_llist_pages(struct rlite *db, long page, short *pages);
int rl_llist_delete(struct rlite *db, long value_page);

#endif

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hirlite-0.1.0 vendor/rlite/src/rlite/type_list.h
hirlite-0.0.2.2 vendor/rlite/src/type_list.h
hirlite-0.0.2.1 vendor/rlite/src/type_list.h
hirlite-0.0.2 vendor/rlite/src/type_list.h
hirlite-0.0.1.3 vendor/rlite/src/type_list.h
hirlite-0.0.1.2 vendor/rlite/src/type_list.h
hirlite-0.0.1.1 vendor/rlite/src/type_list.h
hirlite-0.0.1 vendor/rlite/src/type_list.h