MH shared functions. More...
#include <stdbool.h>
#include <stdio.h>
#include <sys/types.h>
Go to the source code of this file.
Functions | |
bool | mh_mkstemp (struct Mailbox *m, FILE **fp, char **tgt) |
Create a temporary file. | |
mode_t | mh_umask (struct Mailbox *m) |
Create a umask from the mailbox directory. | |
MH shared functions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file shared.h.
bool mh_mkstemp | ( | struct Mailbox * | m, |
FILE ** | fp, | ||
char ** | tgt | ||
) |
Create a temporary file.
[in] | m | Mailbox to create the file in |
[out] | fp | File handle |
[out] | tgt | File name |
true | Success |
false | Failure |
Definition at line 73 of file shared.c.
mode_t mh_umask | ( | struct Mailbox * | m | ) |
Create a umask from the mailbox directory.
m | Mailbox |
num | Umask |
Definition at line 49 of file shared.c.