OpenCore
1.0.4
OpenCore Bootloader
|
#include <arpa/inet.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Data Structures | |
struct | DiskLabel_ |
Macros | |
#define | BigEndianToNative16(x) |
#define | LABEL_MAX_WIDTH 340 |
#define | LABEL_MAX_HEIGHT 12 |
#define | LABEL_TYPE_PALETTED 1 |
#define | LABEL_TYPE_BGRA 2 |
Typedefs | |
typedef struct DiskLabel_ | DiskLabel |
Functions | |
int | main (int argc, char *argv[]) |
Read macOS .disk_label (.disk_label_2x) file and convert to .ppm. Write macOS .disk_label (.disk_label_2x) files from text string. Reference:
Copyright (c) 2019-2020, vit9696
All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file disklabel.c.
#define BigEndianToNative16 | ( | x | ) |
Definition at line 29 of file disklabel.c.
#define LABEL_MAX_HEIGHT 12 |
Definition at line 68 of file disklabel.c.
#define LABEL_MAX_WIDTH 340 |
Definition at line 67 of file disklabel.c.
#define LABEL_TYPE_BGRA 2 |
Definition at line 70 of file disklabel.c.
#define LABEL_TYPE_PALETTED 1 |
Definition at line 69 of file disklabel.c.
typedef struct DiskLabel_ DiskLabel |
int main | ( | int | argc, |
char * | argv[] ) |
Definition at line 412 of file disklabel.c.