Committed By: whitaker
Date: Wed Aug 31 00:50:42 UTC 2005
New constraint on areas in the 'counter' table (LJ::alloc_global_counter)
* 0-9 are reserved for local (ljcom) use by hooks
* everything else is available to general lj code
2 new ljcom hooks:
-- map_global_counter_domain: given an area string, return the area (0-9)
to which it maps.
-- global_counter_init_value: when LJ::alloc_global_counter needs to
generate an initial value for an area on the 'counter' table, what
should it be?
To generate a diff of this commit:
cvs rdiff -r1.884 -r1.885 livejournal/cgi-bin/ljlib.pl