X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Flogin-util.h;fp=src%2Fshared%2Fima-util.h;h=a79f20c1b1e6b1a3f507de8125effeae0ae4e748;hp=d38216170624dfcfdf52f3804b293664293707ec;hb=1cfc78c91965df340cdde100ad6cb3ed50b28927;hpb=86e97d599f8b1ca379dce64fadac9b8f6b002ac5
diff --git a/src/shared/ima-util.h b/src/basic/login-util.h
similarity index 90%
rename from src/shared/ima-util.h
rename to src/basic/login-util.h
index d38216170..a79f20c1b 100644
--- a/src/shared/ima-util.h
+++ b/src/basic/login-util.h
@@ -1,11 +1,9 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#pragma once
-
/***
This file is part of systemd.
- Copyright 2013 Lennart Poettering
+ Copyright 2013 Zbigniew JÄdrzejewski-Szmek
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
@@ -21,6 +19,8 @@
along with systemd; If not, see .
***/
+#pragma once
+
#include
-bool use_ima(void);
+bool session_id_valid(const char *id);