X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/3c08fdae712e79cc7a678a2969c2ac15c5ff8865..8e30092f0670f153536f8699f467634d8a6b6a38:/src/adlist.h diff --git a/src/adlist.h b/src/adlist.h index 36dba1ff..be322552 100644 --- a/src/adlist.h +++ b/src/adlist.h @@ -1,6 +1,6 @@ /* adlist.h - A generic doubly linked list implementation * - * Copyright (c) 2006-2010, Salvatore Sanfilippo + * Copyright (c) 2006-2012, Salvatore Sanfilippo * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -84,6 +84,7 @@ listNode *listSearchKey(list *list, void *key); listNode *listIndex(list *list, long index); void listRewind(list *list, listIter *li); void listRewindTail(list *list, listIter *li); +void listRotate(list *list); /* Directions for iterators */ #define AL_START_HEAD 0