This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct query { | |
struct event * r_pipe_ev; | |
int r_pipe; /* response pipe */ | |
int q_pipe; /* query pipe */ | |
int response[256]; | |
}; | |
static void | |
read_response(int sock, short events, void * arg) { | |
struct query * q = (struct query *)arg; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: xkcd oEmbed | |
Description: faux-Embed support for xkcd comics | |
*/ | |
$xkcd_oembed = new xkcd_oEmbed(); | |
class xkcd_oEmbed { |