]> git.ozlabs.org Git - petitboot/blobdiff - lib/file/file.h
Add support for GPG signature enforcement on booted
[petitboot] / lib / file / file.h
index 8aa7d3c92ced1142b5f1fcc742420c18aa85344d..a2744a03325b7171d29d1c4193a404bee191267c 100644 (file)
@@ -1,5 +1,6 @@
 /*
  *  Copyright (C) 2013 Jeremy Kerr <jk@ozlabs.org>
+ *  Copyright (C) 2016 Raptor Engineering, LLC
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -17,6 +18,8 @@
 #ifndef FILE_H
 #define FILE_H
 
+int copy_file_secure_dest(void *ctx,
+       const char * source_file, char ** destination_file);
 int read_file(void *ctx, const char *filename, char **bufp, int *lenp);
 int replace_file(const char *filename, char *buf, int len);