#include "linden_common.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <curl/curl.h>
#include "llerror.h"
#include "lltimer.h"
#include "lldir.h"
#include "llstring.h"
#include <Carbon/Carbon.h>
Include dependency graph for mac_crash_logger.cpp:
Go to the source code of this file.
Classes | |
class | LLFileEncoder |
Functions | |
LLString | encode_string (const char *formname, const LLString &str) |
size_t | curl_download_callback (void *data, size_t size, size_t nmemb, void *user_data) |
OSStatus | dialogHandler (EventHandlerCallRef handler, EventRef event, void *userdata) |
int | main (int argc, char **argv) |
Variables | |
LLString | gServerResponse |
BOOL | gSendReport = FALSE |
LLString | gUserserver |
LLString | gUserText |
WindowRef | gWindow = NULL |
EventHandlerRef | gEventHandler = NULL |
BOOL | gCrashInPreviousExec = FALSE |
time_t | gLaunchTime |
Copyright (c) 2003-2007, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file mac_crash_logger.cpp.
OSStatus dialogHandler | ( | EventHandlerCallRef | handler, | |
EventRef | event, | |||
void * | userdata | |||
) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 144 of file mac_crash_logger.cpp.
References curl_download_callback(), dialogHandler(), encode_string(), LLFileEncoder::encodeURL(), gCrashInPreviousExec, gDirUtilp, LLDir::getExpandedFilename(), gEventHandler, gLaunchTime, gSendReport, gServerResponse, gUserserver, gUserText, gWindow, i, LLDir::initAppDirs(), LLFileEncoder::isValid(), LL_MAX_PATH, LL_PATH_LOGS, LL_PATH_USER_SETTINGS, llendl, llinfos, llwarns, MAX_STRING, LLFileEncoder::mBuf, NULL, params, S32, and TRUE.
BOOL gCrashInPreviousExec = FALSE |
Definition at line 70 of file mac_crash_logger.cpp.
EventHandlerRef gEventHandler = NULL |
time_t gLaunchTime |
Definition at line 71 of file mac_crash_logger.cpp.
BOOL gSendReport = FALSE |
Definition at line 65 of file mac_crash_logger.cpp.
Definition at line 64 of file mac_crash_logger.cpp.
Definition at line 66 of file mac_crash_logger.cpp.
Definition at line 67 of file mac_crash_logger.cpp.
WindowRef gWindow = NULL |
Definition at line 68 of file mac_crash_logger.cpp.
Referenced by dialogHandler(), get_url_into_file(), main(), sendDone(), sendProgress(), setProgress(), setProgressText(), and WinMain().