diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ipxe/pem.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/ipxe/pem.h b/src/include/ipxe/pem.h index 1276f94a..d88ec5b6 100644 --- a/src/include/ipxe/pem.h +++ b/src/include/ipxe/pem.h @@ -3,12 +3,15 @@ /** @file * - * PEM image format + * PEM-encoded ASN.1 data * */ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); +#include <stdint.h> +#include <ipxe/uaccess.h> +#include <ipxe/asn1.h> #include <ipxe/image.h> /** Pre-encapsulation boundary marker */ @@ -17,6 +20,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); /** Post-encapsulation boundary marker */ #define PEM_END "-----END" +extern int pem_asn1 ( userptr_t data, size_t len, size_t offset, + struct asn1_cursor **cursor ); + extern struct image_type pem_image_type __image_type ( PROBE_NORMAL ); #endif /* _IPXE_PEM_H */ |