search for: g_option_arg_none

Displaying 13 results from an estimated 13 matches for "g_option_arg_none".

2007 Nov 15
0
2 commits - libswfdec-gtk/swfdec_gtk_loader.c player/swfplay.c
...yer/swfplay.c @@ -103,6 +103,7 @@ main (int argc, char *argv[]) { int delay = 0; int speed = 100; + int max_runtime = 0; SwfdecLoader *loader; SwfdecPlayer *player; GError *error = NULL; @@ -117,6 +118,7 @@ main (int argc, char *argv[]) { "always-gc", 'g', 0, G_OPTION_ARG_NONE, &gc, "run the garbage collector as often as possible", NULL }, { "delay", 'd', 0, G_OPTION_ARG_INT, &delay, "make loading of resources take time", "SECS" }, { "image", 'i', 0, G_OPTION_ARG_NONE, &use_image, &qu...
2007 Aug 22
0
5 commits - libswfdec/swfdec_as_object.c NEWS player/swfplay.c
...L; char *s; GtkWidget *window; @@ -101,6 +110,7 @@ main (int argc, char *argv[]) GOptionEntry options[] = { { "delay", 'd', 0, G_OPTION_ARG_INT, &delay, "make loading of resources take time", "SECS" }, { "image", 'i', 0, G_OPTION_ARG_NONE, &use_image, "use an intermediate image surface for drawing", NULL }, + { "no-scripts", 0, 0, G_OPTION_ARG_NONE, &no_scripts, "don't execute scripts affecting the application", NULL }, { "no-sound", 'n', 0, G_OPTION_ARG_NONE, &...
2009 Jul 23
1
viewer updates for fedora submission
This patchset provides updates to the viewer in preperation for its fedora submission. Included are patches cmd-line parameterizing hostname/user/pass/vm, the addition of a man page, cleanup of the project's structure, and updates to the spec.
2009 Jul 13
0
[PATCH viewer] permit hostname / username / password / vm to be passed in via the cmd line
...;, 'p', 0, G_OPTION_ARG_STRING, &password, + "password which to connect to the server with", NULL}, { "cainfo", 0, 0, G_OPTION_ARG_STRING, &cainfo, "set the path of the CA certificate bundle", NULL }, { "check-certificate", 0, 0, G_OPTION_ARG_NONE, &check_cert, "check the SSL certificate of the server", NULL }, + { "vm", 'm', 0, G_OPTION_ARG_STRING, &selected_vm_name, + "name of the vm which to connect to on login", NULL}, { "debug", 'd', 0, G_OPTION_ARG_NONE, &d...
2007 Feb 17
0
8 commits - configure.ac doc/swfdec-sections.txt libswfdec/swfdec_loader.c libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h
...SwfdecPlayer *player; GError *error = NULL; gboolean use_image = FALSE; + char *variables = NULL; GOptionEntry options[] = { { "scale", 's', 0, G_OPTION_ARG_INT, &ret, "scale factor", "PERCENT" }, { "image", 'i', 0, G_OPTION_ARG_NONE, &use_image, "use an intermediate image surface for drawing", NULL }, { "break", 'b', 0, G_OPTION_ARG_NONE, &do_break, "break at the beginning of every script", NULL }, + { "variables", 'v', 0, G_OPTION_ARG_STRING, &variabl...
2008 Jan 14
0
8 commits - player/swfdec-player.c player/swfdec-player.ui player/swfdec-window.c player/swfdec-window-handlers.c
...tion diff --git a/player/swfdec-player.c b/player/swfdec-player.c index 0e3036b..bd64498 100644 --- a/player/swfdec-player.c +++ b/player/swfdec-player.c @@ -55,21 +55,21 @@ main (int argc, char *argv[]) GOptionEntry options[] = { { "no-sound", 'n', G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &settings.sound, N_("don't play sound"), NULL }, { "paused", 'p', G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &settings.playing, N_("start player paused"), NULL }, - { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &filenames, NULL,...
2009 May 19
2
[PATCH server] added ovirt vnc proxy server, to proxy vnc request to managed vms
run on startup by default like the other ovirt services --- conf/ovirt-vnc-proxy | 49 ++++++++ installer/modules/ovirt/manifests/ovirt.pp | 1 + ovirt-server.spec.in | 5 + src/vnc-proxy/vnc-proxy.rb | 167 ++++++++++++++++++++++++++++ 4 files changed, 222 insertions(+), 0 deletions(-) create mode 100755 conf/ovirt-vnc-proxy
2009 Jun 10
1
[PATCH] add cmd line option for server vnc port
...#39;, 0, G_OPTION_ARG_INT, &ovirt_server_vnc_port, + "set port which to connect to server via vnc", NULL }, { "cainfo", 0, 0, G_OPTION_ARG_STRING, &cainfo, "set the path of the CA certificate bundle", NULL }, { "check-certificate", 0, 0, G_OPTION_ARG_NONE, &check_cert, diff --git a/tunnel.c b/tunnel.c index c6d091d..17b512c 100644 --- a/tunnel.c +++ b/tunnel.c @@ -53,9 +53,6 @@ const int VM_NAME_MAX_LEN = 250; // max length of vnc data const int VNC_DATA_MAX_LEN = 800000; -// port which to connect to on ovirt server -const int OVIRT_SERVER_P...
2020 Sep 25
20
[RFC PATCH 00/19] vhost-user-rpmb (Replay Protected Memory Block)
Hi, This is an initial implementation of a vhost-user backend for the VirtIO RPMB device. The device is currently in the draft of the next VirtIO specification and describes block device which uses combination of a key, nonce, hashing and a persistent write counter to prevent replay attacks (hence Replay Protected Memory Block). It is implemented as a vhost-user device because we want to
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...- return FALSE; -} - -int -main (int argc, char *argv[]) -{ - gboolean do_break = FALSE; - SwfdecLoader *loader; - SwfdecPlayer *player; - GError *error = NULL; - gboolean use_image = FALSE; - char *variables = NULL; - - GOptionEntry options[] = { - { "image", 'i', 0, G_OPTION_ARG_NONE, &use_image, "use an intermediate image surface for drawing", NULL }, - { "break", 'b', 0, G_OPTION_ARG_NONE, &do_break, "break at the beginning of every script", NULL }, - { "variables", 'v', 0, G_OPTION_ARG_STRING, &variabl...
2008 Jan 19
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/image test/swfdec_test.c test/swfdec_test_image.c test/trace
...test/swfdec_test.c index 87fb39a..6e1e1d6 100644 --- a/test/swfdec_test.c +++ b/test/swfdec_test.c @@ -77,8 +77,10 @@ main (int argc, char **argv) SwfdecScript *script; SwfdecAsValue val; int i, ret; + gboolean dump; GOptionEntry options[] = { + { "dump", 'd', 0, G_OPTION_ARG_NONE, &dump, "dump images on failure", FALSE }, { "script", 's', 0, G_OPTION_ARG_STRING, &script_filename, "script to execute if not ./default.sts", "FILENAME" }, { NULL } }; @@ -110,6 +112,11 @@ main (int argc, char **argv) conte...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...ter b) -{ - if (SWFDEC_CHARACTER (a)->id < SWFDEC_CHARACTER (b)->id) - return -1; - return 1; -} - -int -main (int argc, char *argv[]) -{ - SwfdecSwfDecoder *s; - SwfdecPlayer *player; - GError *error = NULL; - GOptionEntry options[] = { - { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, "bew verbose", NULL }, - { NULL } - }; - GOptionContext *ctx; - GList *list = NULL; - - ctx = g_option_context_new (""); - g_option_context_add_main_entries (ctx, options, "options"); - g_option_context_parse (ctx, &argc, &argv, &err...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...3974f4b..957b35b 100644 --- a/test/swfdec_test.c +++ b/test/swfdec_test.c @@ -77,7 +77,7 @@ main (int argc, char **argv) SwfdecScript *script; SwfdecAsValue val; int i, ret; - gboolean dump; + gboolean dump = FALSE; GOptionEntry options[] = { { "dump", 'd', 0, G_OPTION_ARG_NONE, &dump, "dump images on failure", FALSE }, commit 1d351e5cd7105c00a2bea80671e99622c5fe7e76 Author: Benjamin Otte <otte at gnome.org> Date: Sat Jan 19 22:14:19 2008 +0100 and add the swfdec_sandbox.[ch] files diff --git a/libswfdec/swfdec_sandbox.c b/libswfdec/swfdec_sand...