X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/b5d655f7532a546b54809da387f7467d128a756b..511daa4c8e95ca3a9f4a918942d9350855df1da0:/gen/asl_private.h diff --git a/gen/asl_private.h b/gen/asl_private.h index 989fb5b..a9c699b 100644 --- a/gen/asl_private.h +++ b/gen/asl_private.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007-2008 Apple Inc. All rights reserved. + * Copyright (c) 2007 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -35,6 +35,7 @@ #define NOTIFY_SYSTEM_ASL_FILTER "com.apple.system.syslog.asl_filter" #define NOTIFY_PREFIX_SYSTEM "com.apple.system.syslog" #define NOTIFY_PREFIX_USER "user.syslog" +#define NOTIFY_RC "com.apple.asl.remote" #define ASL_MSG_FMT_RAW "raw" #define ASL_MSG_FMT_STD "std" @@ -53,6 +54,13 @@ #define ASL_KEY_REF_PID "RefPID" #define ASL_KEY_REF_PROC "RefProc" +#define ASL_KEY_OPTION "ASLOption" + +#define ASL_OPT_IGNORE "ignore" +#define ASL_OPT_STORE "store" + +#define ASL_STORE_LOCATION_FILE 0 +#define ASL_STORE_LOCATION_MEMORY 1 typedef struct __aslclient { @@ -98,6 +106,7 @@ __BEGIN_DECLS int asl_add_output(aslclient asl, int fd, const char *msg_fmt, const char *time_fmt, uint32_t text_encoding); int asl_remove_output(aslclient asl, int fd); char *asl_format_message(aslmsg msg, const char *msg_fmt, const char *time_fmt, uint32_t text_encoding, uint32_t *outlen); +int asl_store_location(); __END_DECLS