search for: urlb

Displaying 2 results from an estimated 2 matches for "urlb".

Did you mean: url
2007 Jun 03
5
can I use template to assemble a html page in an controller and redirect to another controller?
Hi,all! I want to assemble a html page and put it into flash and redirect to another controller ,for example: flash[:aaa]="<html><body><div>hi</div></body></html>" but what I need is to assemble some more complicate html page,so I want to read the render result of a template before to send it to browser. Any thought? Thanks in advance :-)
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
...intended to be + * used together with swfdec_url_hash() in a #GHashtable. + * + * Returns: %TRUE if the 2 given urls point to the same resource, %FALSE + * otherwise. + **/ +gboolean +swfdec_url_equal (gconstpointer a, gconstpointer b) +{ + const SwfdecURL *urla = a; + const SwfdecURL *urlb = b; + + if (!swfdec_url_has_protocol (urla, urlb->protocol)) + return FALSE; + + if (urla->host == NULL) { + if (urlb->host != NULL) + return FALSE; + } else { + if (urlb->host == NULL || + !g_str_equal (urla->host, urlb->host)) + return FALSE; + } + + if...