Sha256: e1e1c197548814a07f8574305befdb3fef261187150bdfea30fb03fda541264a

Contents?: true

Size: 587 Bytes

Versions: 3

Compression:

Stored size: 587 Bytes

Contents

#ifndef _RL_SORT_H
#define _RL_SORT_H
#include "rlite.h"

typedef struct rliteSortObject {
	unsigned char *obj;
	long objlen;
	union {
		double score;
		struct {
			unsigned char *obj;
			long objlen;
		} cmpobj;
	} u;
} rliteSortObject;

int rl_sort(struct rlite *db, unsigned char *key, long keylen, unsigned char *sortby, long sortbylen, int dontsort, int inLuaScript, int alpha, int desc, long limit_start, long limit_count, int getc, unsigned char **getv, long *getvlen, unsigned char *storekey, long storekeylen, long *retobjc, unsigned char ***retobjv, long **retobjvlen);
#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hirlite-0.1.0 vendor/rlite/src/rlite/sort.h
hirlite-0.0.2.2 vendor/rlite/src/sort.h
hirlite-0.0.2.1 vendor/rlite/src/sort.h