X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2Futils_dm.h;h=ae4836cdfe779e24375de1c52883c223ad97decb;hb=918c1a6de1638634634c22bdd8daf27abc3b8abe;hp=398e9907e51c1ca31d5a6672741a4005776f22ee;hpb=97224b072a21ec6ebd7e0674cf9d6ff744923832;p=platform%2Fupstream%2Fcryptsetup.git diff --git a/lib/utils_dm.h b/lib/utils_dm.h index 398e990..ae4836c 100644 --- a/lib/utils_dm.h +++ b/lib/utils_dm.h @@ -4,10 +4,12 @@ * Copyright (C) 2004, Christophe Saout * Copyright (C) 2004-2007, Clemens Fruhwirth * Copyright (C) 2009-2012, Red Hat, Inc. All rights reserved. + * Copyright (C) 2009-2012, Milan Broz * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License - * version 2 as published by the Free Software Foundation. + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -79,8 +81,8 @@ struct crypt_dm_active_device { } u; }; -int dm_init(struct crypt_device *context, int check_kernel); -void dm_exit(void); +void dm_backend_init(void); +void dm_backend_exit(void); int dm_remove_device(struct crypt_device *cd, const char *name, int force, uint64_t size);