summaryrefslogtreecommitdiff
path: root/usr/fwparam_ibft/fwparam.h
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2022-04-01 10:15:01 -0700
committerGitHub <noreply@github.com>2022-04-01 10:15:01 -0700
commit465d051402ce0d0a2998f5c204b8bb10e5541b05 (patch)
treedd1b6a61e16cca30ffc540b4c8d2847df613cdd3 /usr/fwparam_ibft/fwparam.h
parent4cc94655720a5c1fe3baf1cb903ed35880d505fe (diff)
parentd35fd49d536c47090d6e14b66f002a6c37297d07 (diff)
downloadopen-iscsi-465d051402ce0d0a2998f5c204b8bb10e5541b05.tar.gz
Merge pull request #328 from gonzoleeman/more-makefile-cleanup
More makefile cleanup
Diffstat (limited to 'usr/fwparam_ibft/fwparam.h')
-rw-r--r--usr/fwparam_ibft/fwparam.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/usr/fwparam_ibft/fwparam.h b/usr/fwparam_ibft/fwparam.h
new file mode 100644
index 0000000..141def7
--- /dev/null
+++ b/usr/fwparam_ibft/fwparam.h
@@ -0,0 +1,32 @@
+/*
+ * 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
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ * USA.
+ */
+#ifndef FWPARAM_H_
+#define FWPARAM_H_
+
+#include <stdint.h>
+#include "fw_context.h"
+
+#define FILENAMESZ (1024)
+
+struct boot_context;
+
+int fwparam_sysfs_boot_info(struct boot_context *context);
+int fwparam_sysfs_get_targets(struct list_head *list);
+int fwparam_ppc_boot_info(struct boot_context *context);
+int fwparam_ppc_get_targets(struct list_head *list);
+
+#endif /* FWPARAM_IBFT_H_ */