summaryrefslogtreecommitdiff
path: root/src/librandom
diff options
context:
space:
mode:
Diffstat (limited to 'src/librandom')
-rw-r--r--src/librandom/autosurf_name.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/librandom/autosurf_name.c b/src/librandom/autosurf_name.c
new file mode 100644
index 0000000..b0641c0
--- /dev/null
+++ b/src/librandom/autosurf_name.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/random.h>
+#include <skalibs/surf.h>
+
+void autosurf_name (char *s, size_t n)
+{
+ random_name_from(s, n, &autosurf) ;
+}