Skip to content

Commit

Permalink
allow using lib/partition in c++
Browse files Browse the repository at this point in the history
  • Loading branch information
cleverca22 committed Aug 9, 2023
1 parent fcd3786 commit 4c4b960
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/partition/include/lib/partition.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
*/
#pragma once

#include <lk/compiler.h>
#include <sys/types.h>

__BEGIN_CDECLS

/* examine and try to publish partitions on a particular device at a particular offset */
int partition_publish(const char *device, off_t offset);

/* remove any published subdevices on this device */
int partition_unpublish(const char *device);

__END_CDECLS

0 comments on commit 4c4b960

Please sign in to comment.