search for: server_string

Displaying 3 results from an estimated 3 matches for "server_string".

2012 Oct 29
2
array and string
hi all, I have an array and i would like to convert it into a string format. e.g. $server = ["node1", "node2", "node3"] when I write my puppet codes exec { "myscript -S $server": path => XXXX } my $server becomes a continual string like: "node1node2node3", instead of "node1 node2 node3". How can i have a delimiter of space in
2007 Aug 27
0
7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player.c
...cAsValue *ret) +{ + SWFDEC_AS_VALUE_SET_BOOLEAN (ret, FALSE); +} + +static void +swfdec_system_has_tls (SwfdecPlayer *player, SwfdecAsValue *ret) +{ + SWFDEC_AS_VALUE_SET_BOOLEAN (ret, FALSE); +} + +/* NB: ordered for the query string order */ +const struct { + const char * name; + const char * server_string; + void (* get) (SwfdecPlayer *player, SwfdecAsValue *ret); +} queries[] = { + { SWFDEC_AS_STR_hasAudio, "A", swfdec_system_has_audio }, + { SWFDEC_AS_STR_hasStreamingAudio, "SA", swfdec_system_has_streaming_audio }, + { SWFDEC_AS_STR_hasStreamingVideo, "SV", sw...
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
...MBER (&val)); + } else if (queries[i].name == SWFDEC_AS_STR_manufacturer) { + char *s = swfdec_as_string_escape (cx, player->system->server_manufacturer); + g_string_append_printf (server, "&M=%s", s); + g_free (s); } else { g_assert (queries[i].server_string); if (i > 0) diff-tree 1b78c01077678375f35478925172ea57ae7003ea (from a3bf094161ce6fbc97a2b59b154b3b2f7e307dca) Author: Benjamin Otte <otte at gnome.org> Date: Wed Aug 29 12:26:19 2007 +0200 print the asect ratio as 1.0 diff --git a/libswfdec/swfdec_system_as.c b/libswfdec/s...