[READ-ONLY] Mirror of https://github.com/VibeDevelopers/Comet.
0

Configure Feed

Select the types of activity you want to include in your feed.

Make struct operhash_entry private.

Jilles Tjoelker (Mar 1, 2010, 1:24 AM +0100) f9545a9b 27f616dd

+6 -6
-6
include/operhash.h
··· 1 1 #ifndef INCLUDED_operhash_h 2 2 #define INCLUDED_operhash_h 3 3 4 - struct operhash_entry 5 - { 6 - char *name; 7 - int refcount; 8 - }; 9 - 10 4 void init_operhash(void); 11 5 const char *operhash_add(const char *name); 12 6 const char *operhash_find(const char *name);
+6
src/operhash.c
··· 41 41 42 42 #define hash_opername(x) fnv_hash_upper((const unsigned char *)(x), OPERHASH_MAX_BITS) 43 43 44 + struct operhash_entry 45 + { 46 + char *name; 47 + int refcount; 48 + }; 49 + 44 50 static rb_dlink_list operhash_table[OPERHASH_MAX]; 45 51 46 52 const char *