Code refactoring

Partial refactor of mbox_open(). Opening of file descripts has been
moved to mbox_fdopen().
This commit is contained in:
2024-09-20 13:11:06 +02:00
parent bd64536e89
commit 631998a849
2 changed files with 39 additions and 43 deletions

View File

@@ -45,5 +45,6 @@ void mbox_close (mbox_t * mbp);
message_t *mbox_read_message (mbox_t * mp);
void mbox_write_message (message_t * m, mbox_t * mbox);
void mbox_lock (int fd, const char *path, const mbox_mode_t mbox_mode);
void *mbox_fdopen (int fd, const char *path, const mbox_mode_t mbox_mode);
#endif /* MBOX_H */