Gnash
0.8.10
|
#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. | |
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 _, list_lcs(), dbglogfile, and gnash::amf::write().
Referenced by main().
int getopt | ( | int | , |
char *const * | , | ||
const char * | |||
) |
key_t list_lcs | ( | ) |
Referenced by main(), and dump_shm().
int main | ( | int argc | , |
char * | argv[] | ||
) |
References gnash::key::c, bindtextdomain, textdomain, _, DUMPSHM_VERSION, getopt(), dbglogfile, list_lcs(), optind, dump_shm(), and DEFAULT_SHM_SIZE.
const int DEFAULT_SHM_SIZE = 64528 |
Referenced by main().
const char* DUMPSHM_VERSION = "0.5" |
Referenced by main().
const int LINELEN = 80 |
const unsigned int LOOPCNT = 5 |
char* optarg |
Referenced by gnash::DumpGui::init(), gnash::gui::FBGui::init(), gnash::HaikuGui::init(), and main().
int optind |
Referenced by gnash::DumpGui::init(), main(), gnash::gui::FBGui::init(), and gnash::HaikuGui::init().
const int PIDEND = 23000 |
const int PIDSTART = 20000 |
const int SHM_INFO = 14 |
const int SHM_STAT = 13 |