diff options
Diffstat (limited to 'xlators/features/changelog/src/changelog-encoders.h')
-rw-r--r-- | xlators/features/changelog/src/changelog-encoders.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xlators/features/changelog/src/changelog-encoders.h b/xlators/features/changelog/src/changelog-encoders.h index 2a96ba4dd..c5dcc8a77 100644 --- a/xlators/features/changelog/src/changelog-encoders.h +++ b/xlators/features/changelog/src/changelog-encoders.h @@ -21,7 +21,6 @@ priv->maps[cld->cld_type], 1); \ CHANGELOG_FILL_BUFFER (buffer, \ off, gfid, gfid_len); \ - CHANGELOG_FILL_BUFFER (buffer, off, "\0", 1); \ } while (0) #define CHANGELOG_STORE_BINARY(priv, buf, off, gfid, cld) do { \ @@ -29,20 +28,21 @@ priv->maps[cld->cld_type], 1); \ CHANGELOG_FILL_BUFFER (buffer, \ off, gfid, sizeof (uuid_t)); \ - CHANGELOG_FILL_BUFFER (buffer, off, "\0", 1); \ } while (0) size_t entry_fn (void *data, char *buffer, gf_boolean_t encode); size_t fop_fn (void *data, char *buffer, gf_boolean_t encode); +size_t +number_fn (void *data, char *buffer, gf_boolean_t encode); void entry_free_fn (void *data); int -changelog_encode_binary (xlator_t *, - changelog_local_t *, changelog_log_data_t *); +changelog_encode_binary (xlator_t *, changelog_log_data_t *); int -changelog_encode_ascii (xlator_t *, - changelog_local_t *, changelog_log_data_t *); +changelog_encode_ascii (xlator_t *, changelog_log_data_t *); +void +changelog_encode_change(changelog_priv_t *); #endif /* _CHANGELOG_ENCODERS_H */ |