X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=Superuser%2Fjni%2Fsu%2Fsu.h;h=721e336c3185c1b6a7a6175ee36b570a013850e7;hb=6d95bf5628dfae666f31f97391222e1f119b8cd7;hp=3508e3d4674beb815af41b3fa04c216fd983c81a;hpb=1a63a88c3a083580d8d8ecab313d3b389e5d0b95;p=android-x86%2Fexternal-koush-Superuser.git diff --git a/Superuser/jni/su/su.h b/Superuser/jni/su/su.h index 3508e3d..721e336 100644 --- a/Superuser/jni/su/su.h +++ b/Superuser/jni/su/su.h @@ -71,11 +71,6 @@ #define REQUESTOR_DATABASE_PATH REQUESTOR "/databases/su.sqlite" #define REQUESTOR_MULTIUSER_MODE REQUESTOR_FILES_PATH "/multiuser_mode" -/* intent actions */ -#define ACTION_REQUEST "start -n " REQUESTOR "/" REQUESTOR_PREFIX ".RequestActivity" -#define ACTION_NOTIFY "start -n " REQUESTOR "/" REQUESTOR_PREFIX ".NotifyActivity" -#define ACTION_RESULT "broadcast -n " REQUESTOR "/" REQUESTOR_PREFIX ".SuReceiver" - #define DEFAULT_SHELL "/system/bin/sh" #define xstr(a) str(a) @@ -160,7 +155,6 @@ extern policy_t database_check(struct su_context *ctx); extern void set_identity(unsigned int uid); extern int send_request(struct su_context *ctx); extern int send_result(struct su_context *ctx, policy_t policy); -extern int silent_run(char* command); static inline char *get_command(const struct su_request *to) {