Permalink
Browse files

Move declaration methods around so that they don't need to sit inside…

… the header file
  • Loading branch information...
1 parent 74bcc59 commit 24b1d859963b0f558ee48765fdc111925988becb Ilia committed May 23, 2011
Showing with 583 additions and 710 deletions.
  1. +0 −129 php_redis.h
  2. +583 −581 redis.c
View
@@ -23,135 +23,6 @@
#ifndef PHP_REDIS_H
#define PHP_REDIS_H
-PHP_METHOD(Redis, __construct);
-PHP_METHOD(Redis, connect);
-PHP_METHOD(Redis, pconnect);
-PHP_METHOD(Redis, close);
-PHP_METHOD(Redis, ping);
-PHP_METHOD(Redis, get);
-PHP_METHOD(Redis, set);
-PHP_METHOD(Redis, setex);
-PHP_METHOD(Redis, setnx);
-PHP_METHOD(Redis, getSet);
-PHP_METHOD(Redis, randomKey);
-PHP_METHOD(Redis, renameKey);
-PHP_METHOD(Redis, renameNx);
-PHP_METHOD(Redis, getMultiple);
-PHP_METHOD(Redis, exists);
-PHP_METHOD(Redis, delete);
-PHP_METHOD(Redis, incr);
-PHP_METHOD(Redis, incrBy);
-PHP_METHOD(Redis, decr);
-PHP_METHOD(Redis, decrBy);
-PHP_METHOD(Redis, type);
-PHP_METHOD(Redis, append);
-PHP_METHOD(Redis, getRange);
-PHP_METHOD(Redis, setRange);
-PHP_METHOD(Redis, getBit);
-PHP_METHOD(Redis, setBit);
-PHP_METHOD(Redis, strlen);
-PHP_METHOD(Redis, getKeys);
-PHP_METHOD(Redis, sort);
-PHP_METHOD(Redis, sortAsc);
-PHP_METHOD(Redis, sortAscAlpha);
-PHP_METHOD(Redis, sortDesc);
-PHP_METHOD(Redis, sortDescAlpha);
-PHP_METHOD(Redis, lPush);
-PHP_METHOD(Redis, lPushx);
-PHP_METHOD(Redis, rPush);
-PHP_METHOD(Redis, rPushx);
-PHP_METHOD(Redis, lPop);
-PHP_METHOD(Redis, rPop);
-PHP_METHOD(Redis, blPop);
-PHP_METHOD(Redis, brPop);
-PHP_METHOD(Redis, lSize);
-PHP_METHOD(Redis, lRemove);
-PHP_METHOD(Redis, listTrim);
-PHP_METHOD(Redis, lGet);
-PHP_METHOD(Redis, lGetRange);
-PHP_METHOD(Redis, lSet);
-PHP_METHOD(Redis, lInsert);
-PHP_METHOD(Redis, sAdd);
-PHP_METHOD(Redis, sSize);
-PHP_METHOD(Redis, sRemove);
-PHP_METHOD(Redis, sMove);
-PHP_METHOD(Redis, sPop);
-PHP_METHOD(Redis, sRandMember);
-PHP_METHOD(Redis, sContains);
-PHP_METHOD(Redis, sMembers);
-PHP_METHOD(Redis, sInter);
-PHP_METHOD(Redis, sInterStore);
-PHP_METHOD(Redis, sUnion);
-PHP_METHOD(Redis, sUnionStore);
-PHP_METHOD(Redis, sDiff);
-PHP_METHOD(Redis, sDiffStore);
-PHP_METHOD(Redis, setTimeout);
-PHP_METHOD(Redis, save);
-PHP_METHOD(Redis, bgSave);
-PHP_METHOD(Redis, lastSave);
-PHP_METHOD(Redis, flushDB);
-PHP_METHOD(Redis, flushAll);
-PHP_METHOD(Redis, dbSize);
-PHP_METHOD(Redis, auth);
-PHP_METHOD(Redis, ttl);
-PHP_METHOD(Redis, persist);
-PHP_METHOD(Redis, info);
-PHP_METHOD(Redis, select);
-PHP_METHOD(Redis, move);
-PHP_METHOD(Redis, zAdd);
-PHP_METHOD(Redis, zDelete);
-PHP_METHOD(Redis, zRange);
-PHP_METHOD(Redis, zReverseRange);
-PHP_METHOD(Redis, zRangeByScore);
-PHP_METHOD(Redis, zRevRangeByScore);
-PHP_METHOD(Redis, zCount);
-PHP_METHOD(Redis, zDeleteRangeByScore);
-PHP_METHOD(Redis, zDeleteRangeByRank);
-PHP_METHOD(Redis, zCard);
-PHP_METHOD(Redis, zScore);
-PHP_METHOD(Redis, zRank);
-PHP_METHOD(Redis, zRevRank);
-PHP_METHOD(Redis, zIncrBy);
-PHP_METHOD(Redis, zInter);
-PHP_METHOD(Redis, zUnion);
-PHP_METHOD(Redis, expireAt);
-PHP_METHOD(Redis, bgrewriteaof);
-PHP_METHOD(Redis, slaveof);
-PHP_METHOD(Redis, object);
-
-PHP_METHOD(Redis, mset);
-PHP_METHOD(Redis, msetnx);
-PHP_METHOD(Redis, rpoplpush);
-PHP_METHOD(Redis, brpoplpush);
-
-PHP_METHOD(Redis, hGet);
-PHP_METHOD(Redis, hSet);
-PHP_METHOD(Redis, hSetNx);
-PHP_METHOD(Redis, hDel);
-PHP_METHOD(Redis, hLen);
-PHP_METHOD(Redis, hKeys);
-PHP_METHOD(Redis, hVals);
-PHP_METHOD(Redis, hGetAll);
-PHP_METHOD(Redis, hExists);
-PHP_METHOD(Redis, hIncrBy);
-PHP_METHOD(Redis, hMset);
-PHP_METHOD(Redis, hMget);
-
-PHP_METHOD(Redis, multi);
-PHP_METHOD(Redis, discard);
-PHP_METHOD(Redis, exec);
-PHP_METHOD(Redis, watch);
-PHP_METHOD(Redis, unwatch);
-
-PHP_METHOD(Redis, pipeline);
-
-PHP_METHOD(Redis, publish);
-PHP_METHOD(Redis, subscribe);
-PHP_METHOD(Redis, unsubscribe);
-
-PHP_METHOD(Redis, getOption);
-PHP_METHOD(Redis, setOption);
-
#ifdef PHP_WIN32
#define PHP_REDIS_API __declspec(dllexport)
#else
Oops, something went wrong.

0 comments on commit 24b1d85

Please sign in to comment.