diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-10 09:48:20 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-10 09:48:20 +0100 |
commit | d910528bbdb056c17ed988e9824bd29ddbc98a40 (patch) | |
tree | 9ea0a34272fa365fd60c5ec481478f821b3f6fe8 /src/libutil/util.h | |
parent | 42c732f32a45f4f3dbea262eff6b251a839eab15 (diff) | |
download | rspamd-d910528bbdb056c17ed988e9824bd29ddbc98a40.tar.gz rspamd-d910528bbdb056c17ed988e9824bd29ddbc98a40.zip |
[Feature] Add function to create temporary shared memory mapping
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index 5c0e82a0d..0c293ccbe 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -412,6 +412,13 @@ guint64 rspamd_hash_seed (void); void rspamd_random_hex (guchar *buf, guint64 len); /** + * Returns + * @param pattern pattern to create (should end with some number of X symbols), modified by this function + * @return + */ +gint rspamd_shmem_mkstemp (gchar *pattern); + +/** * Return jittered time value */ gdouble rspamd_time_jitter (gdouble in, gdouble jitter); |