21 lines
583 B
Objective-C
21 lines
583 B
Objective-C
//
|
|
// utilities.h
|
|
// ProcessMonitor
|
|
//
|
|
// Created by Patrick Wardle on 9/1/19.
|
|
// Copyright © 2020 Objective-See. All rights reserved.
|
|
//
|
|
|
|
#ifndef utilities_h
|
|
#define utilities_h
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <EndpointSecurity/EndpointSecurity.h>
|
|
|
|
//convert es_string_token_t to string
|
|
NSString* convertStringToken(es_string_token_t* stringToken);
|
|
//convert environment variable string to two separate strings representing a key and a value
|
|
void convertEnvironmentVariableStringToKeyValue(NSString *env, NSString **key, NSString **value);
|
|
|
|
#endif /* utilities_h */
|