palerain.h

This commit is contained in:
Nick Chan committed 2023-02-06 01:03:29 +08:00
1 parent 6f88b0cd26
commit 6127bdb3d6
17 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef COMMON_H #ifndef PALERAIN_H
#define COMMON_H #define PALERAIN_H
#include "xxd-embedded.h" #include "xxd-embedded.h"
#include "kerninfo.h" #include "kerninfo.h"
+1 -1
View File
@@ -34,7 +34,7 @@
#include <libtvcontrol.h> #include <libtvcontrol.h>
#endif #endif
#include <common.h> #include <palerain.h>
irecv_device_event_context_t irecvctx = NULL; irecv_device_event_context_t irecvctx = NULL;
+1 -1
View File
@@ -25,7 +25,7 @@
#include <usbmuxd.h> #include <usbmuxd.h>
#include <ANSI-color-codes.h> #include <ANSI-color-codes.h>
#include <common.h> #include <palerain.h>
#define FORMAT_KEY_VALUE 1 #define FORMAT_KEY_VALUE 1
#define FORMAT_XML 2 #define FORMAT_XML 2
+1 -1
View File
@@ -17,7 +17,7 @@
extern char **environ; extern char **environ;
#include <common.h> #include <palerain.h>
#include <xxd-embedded.h> #include <xxd-embedded.h>
char* pongo_path = NULL; char* pongo_path = NULL;
char* ext_checkra1n = NULL; char* ext_checkra1n = NULL;
+1 -1
View File
@@ -25,7 +25,7 @@
#include <libimobiledevice/libimobiledevice.h> #include <libimobiledevice/libimobiledevice.h>
#include <ANSI-color-codes.h> #include <ANSI-color-codes.h>
#include <common.h> #include <palerain.h>
#include <xxd-embedded.h> #include <xxd-embedded.h>
#include <kerninfo.h> #include <kerninfo.h>
+1 -1
View File
@@ -6,7 +6,7 @@
#include <assert.h> #include <assert.h>
#include <ANSI-color-codes.h> #include <ANSI-color-codes.h>
#include <common.h> #include <palerain.h>
int p1_log(log_level_t loglevel, const char *fname, int lineno, const char *fxname, char *__restrict format, ...) int p1_log(log_level_t loglevel, const char *fname, int lineno, const char *fxname, char *__restrict format, ...)
{ {
+1 -1
View File
@@ -25,7 +25,7 @@
#include <libimobiledevice/libimobiledevice.h> #include <libimobiledevice/libimobiledevice.h>
#include <ANSI-color-codes.h> #include <ANSI-color-codes.h>
#include <common.h> #include <palerain.h>
#include <xxd-embedded.h> #include <xxd-embedded.h>
#include <kerninfo.h> #include <kerninfo.h>
+1 -1
View File
@@ -10,7 +10,7 @@
#include <assert.h> #include <assert.h>
#include <getopt.h> #include <getopt.h>
#include <errno.h> #include <errno.h>
#include <common.h> #include <palerain.h>
static struct option longopts[] = { static struct option longopts[] = {
+1 -1
View File
@@ -12,7 +12,7 @@
#include <sys/mman.h> #include <sys/mman.h>
#include <errno.h> #include <errno.h>
#include <common.h> #include <palerain.h>
int override_file(override_file_t *finfo, niarelap_file_t** orig, unsigned int *orig_len, char *filename) { int override_file(override_file_t *finfo, niarelap_file_t** orig, unsigned int *orig_len, char *filename) {
int ret = 0; int ret = 0;
+1 -1
View File
@@ -10,7 +10,7 @@
#include <sys/mman.h> // mmap, munmap #include <sys/mman.h> // mmap, munmap
#include <sys/stat.h> // fstst #include <sys/stat.h> // fstst
#include <common.h> #include <palerain.h>
bool pongo_full, device_has_booted = 0; bool pongo_full, device_has_booted = 0;
int pongo_thr_running = 0; int pongo_thr_running = 0;
+1 -1
View File
@@ -38,7 +38,7 @@
#include <sys/mman.h> // mmap, munmap #include <sys/mman.h> // mmap, munmap
#include <sys/stat.h> // fstst #include <sys/stat.h> // fstst
#include <common.h> #include <palerain.h>
#define ERR(...) LOG(LOG_VERBOSE, __VA_ARGS__) #define ERR(...) LOG(LOG_VERBOSE, __VA_ARGS__)
// Keep in sync with Pongo // Keep in sync with Pongo
+1 -1
View File
@@ -9,7 +9,7 @@
#include <unistd.h> #include <unistd.h>
#include <assert.h> #include <assert.h>
#include <common.h> #include <palerain.h>
#include <tui.h> #include <tui.h>
int redraw_screen() { int redraw_screen() {
+1 -1
View File
@@ -9,7 +9,7 @@
#include <unistd.h> #include <unistd.h>
#include <assert.h> #include <assert.h>
#include <common.h> #include <palerain.h>
#include <tui.h> #include <tui.h>
tui_screen_t tui_screen_enter_dfu() { return JAILBREAKING_SCREEN; } tui_screen_t tui_screen_enter_dfu() { return JAILBREAKING_SCREEN; }
+1 -1
View File
@@ -9,7 +9,7 @@
#include <unistd.h> #include <unistd.h>
#include <assert.h> #include <assert.h>
#include <common.h> #include <palerain.h>
#include <tui.h> #include <tui.h>
tui_screen_t tui_screen_enter_recovery() { return ENTER_DFU_SCREEN; } tui_screen_t tui_screen_enter_recovery() { return ENTER_DFU_SCREEN; }
+1 -1
View File
@@ -9,7 +9,7 @@
#include <unistd.h> #include <unistd.h>
#include <assert.h> #include <assert.h>
#include <common.h> #include <palerain.h>
#include <tui.h> #include <tui.h>
tui_screen_t tui_screen_jailbreak() { return EXIT_SCREEN; } tui_screen_t tui_screen_jailbreak() { return EXIT_SCREEN; }
+1 -1
View File
@@ -9,7 +9,7 @@
#include <unistd.h> #include <unistd.h>
#include <assert.h> #include <assert.h>
#include <common.h> #include <palerain.h>
#include <tui.h> #include <tui.h>
tui_screen_t tui_screen_main() { tui_screen_t tui_screen_main() {
+1 -1
View File
@@ -9,7 +9,7 @@
#include <unistd.h> #include <unistd.h>
#include <assert.h> #include <assert.h>
#include <common.h> #include <palerain.h>
#include <tui.h> #include <tui.h>
void bitfield_check_cb(newtComponent box, void* data) { void bitfield_check_cb(newtComponent box, void* data) {