Deleted Added
full compact
scheme.h (253923) scheme.h (263382)
1/*-
2 * Copyright (c) 2013 Juniper Networks, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 27 unchanged lines hidden (view full) ---

36#define SCHEME_GPT 4
37#define SCHEME_MBR 5
38#define SCHEME_PC98 6
39#define SCHEME_VTOC8 7
40
41int scheme_select(const char *);
42u_int scheme_selected(void);
43
1/*-
2 * Copyright (c) 2013 Juniper Networks, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 27 unchanged lines hidden (view full) ---

36#define SCHEME_GPT 4
37#define SCHEME_MBR 5
38#define SCHEME_PC98 6
39#define SCHEME_VTOC8 7
40
41int scheme_select(const char *);
42u_int scheme_selected(void);
43
44int scheme_add_part(u_int, const char *, off_t, off_t);
44int scheme_check_part(struct part *);
45u_int scheme_max_parts(void);
46off_t scheme_first_offset(u_int);
47off_t scheme_next_offset(off_t, uint64_t);
48void scheme_write(int, off_t);
49
50#endif /* _MKIMG_SCHEME_H_ */
45u_int scheme_max_parts(void);
46off_t scheme_first_offset(u_int);
47off_t scheme_next_offset(off_t, uint64_t);
48void scheme_write(int, off_t);
49
50#endif /* _MKIMG_SCHEME_H_ */