MH shared functions. More...
#include <stdbool.h>#include <stdio.h>#include <sys/types.h>
Include dependency graph for shared.h:
This graph shows which files directly or indirectly include this file: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.
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
Here is the call graph for this function:
Here is the caller graph for this function: