aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/message-file.c
diff options
context:
space:
mode:
authorGravatar Charles Celerier <cceleri@cs.stanford.edu>2014-05-13 05:44:05 -0400
committerGravatar David Bremner <david@tethera.net>2014-07-13 12:25:29 -0300
commitdf8885f62c13f77b2b16cbb211e3a727945870b0 (patch)
tree790fe4568e71a463879efd01ba48efa2ad395a26 /lib/message-file.c
parentc2d8236b56e713ae2e7053c9ea3cc13f7d1283c4 (diff)
lib: Start all function names in notmuch-private.h with
As noted in devel/STYLE, every private library function should start with _notmuch. This patch corrects function naming that did not adhere to this style in lib/notmuch-private.h. In particular, the old function names that now begin with _notmuch are notmuch_sha1_of_file notmuch_sha1_of_string notmuch_message_file_close notmuch_message_file_get_header notmuch_message_file_open notmuch_message_get_author notmuch_message_set_author Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>
Diffstat (limited to 'lib/message-file.c')
-rw-r--r--lib/message-file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/message-file.c b/lib/message-file.c
index 483ba1e9..eda1b748 100644
--- a/lib/message-file.c
+++ b/lib/message-file.c
@@ -99,19 +99,19 @@ _notmuch_message_file_open_ctx (void *ctx, const char *filename)
FAIL:
fprintf (stderr, "Error opening %s: %s\n", filename, strerror (errno));
- notmuch_message_file_close (message);
+ _notmuch_message_file_close (message);
return NULL;
}
notmuch_message_file_t *
-notmuch_message_file_open (const char *filename)
+_notmuch_message_file_open (const char *filename)
{
return _notmuch_message_file_open_ctx (NULL, filename);
}
void
-notmuch_message_file_close (notmuch_message_file_t *message)
+_notmuch_message_file_close (notmuch_message_file_t *message)
{
talloc_free (message);
}
@@ -297,7 +297,7 @@ _notmuch_message_file_get_combined_header (notmuch_message_file_t *message,
}
const char *
-notmuch_message_file_get_header (notmuch_message_file_t *message,
+_notmuch_message_file_get_header (notmuch_message_file_t *message,
const char *header)
{
const char *value;