mirror of
https://github.com/palera1n/palera1n.git
synced 2026-11-22 13:23:22 +01:00
palerain.h
This commit is contained in:
1 parent
6f88b0cd26
commit
6127bdb3d6
17 files changed
+18
-18
No files matched your search
@@ -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
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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() {
|
||||||
|
|||||||
@@ -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; }
|
||||||
@@ -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; }
|
||||||
@@ -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; }
|
||||||
@@ -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() {
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user