Gnash
0.8.11dev
|
#include "GnashSystemIOHeaders.h"
#include <cstdarg>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <cerrno>
#include <dirent.h>
#include <sys/mman.h>
#include <sys/shm.h>
#include <sys/ipc.h>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <map>
#include <sstream>
#include <cstdio>
#include "log.h"
#include "rc.h"
#include "shm.h"
#include "amf.h"
#include "lcshm.h"
Functions | |
int | getopt (int, char *const *, const char *) |
void | dump_ctrl (void *inmem) |
Dumps the internal data of the found ShmControl block. We do our own dumping, rather than letting ShmControl::dump() do it, cause that's for debugging, and this is for user display purposes. More... | |
void | dump_shm (bool convert, bool out) |
key_t | list_lcs () |
int | main (int argc, char *argv[]) |
Variables | |
int | optind |
char * | optarg |
const int | PIDSTART = 20000 |
const int | PIDEND = 23000 |
const int | LINELEN = 80 |
const unsigned int | LOOPCNT = 5 |
const int | DEFAULT_SHM_SIZE = 64528 |
const int | SHM_STAT = 13 |
const int | SHM_INFO = 14 |
const char * | DUMPSHM_VERSION = "0.5" |
void dump_ctrl | ( | void * | ptr | ) |
Dumps the internal data of the found ShmControl block. We do our own dumping, rather than letting ShmControl::dump() do it, cause that's for debugging, and this is for user display purposes.
References _.
void dump_shm | ( | bool | convert, |
bool | out | ||
) |
References _, dbglogfile, gnash::hexify(), list_lcs(), gnash::log_debug(), SHM_INFO, SHM_STAT, and gnash::amf::write().
int getopt | ( | int | , |
char *const * | , | ||
const char * | |||
) |
key_t list_lcs | ( | ) |
Referenced by dump_shm().
int main | ( | int argc | , |
char * | argv[] | ||
) |
References bindtextdomain, gnash::key::c, PACKAGE, and textdomain.
const int DEFAULT_SHM_SIZE = 64528 |
const char* DUMPSHM_VERSION = "0.5" |
const int LINELEN = 80 |
const unsigned int LOOPCNT = 5 |
char* optarg |
Referenced by gnash::DumpGui::init(), gnash::HaikuGui::init(), and gnash::gui::FBGui::init().
int optind |
Referenced by gnash::DumpGui::init(), gnash::HaikuGui::init(), and gnash::gui::FBGui::init().
const int PIDEND = 23000 |
const int PIDSTART = 20000 |
const int SHM_INFO = 14 |
Referenced by dump_shm().
const int SHM_STAT = 13 |
Referenced by dump_shm().