forked from memcached/memcached
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stats_prefix_* should not assume that all keys are zero-terminated
- Loading branch information
Showing
3 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/* stats */ | ||
void stats_prefix_init(void); | ||
void stats_prefix_clear(void); | ||
void stats_prefix_record_get(const char *key, const bool is_hit); | ||
void stats_prefix_record_delete(const char *key); | ||
void stats_prefix_record_set(const char *key); | ||
void stats_prefix_record_get(const char *key, const size_t nkey, const bool is_hit); | ||
void stats_prefix_record_delete(const char *key, const size_t nkey); | ||
void stats_prefix_record_set(const char *key, const size_t nkey); | ||
/*@null@*/ | ||
char *stats_prefix_dump(int *length); |