Compound XDR

Compound XDR — Compound types defined by the NhExt standard

Synopsis


#include <nhproxy/nhproxy.h>


struct      nhproxy_cb_subprot2_init;
nhproxy_bool_t nhproxy_cb_xdr_subprot2_init (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_subprot2_init *datum);

struct      nhproxy_init_nhwindow_req;
nhproxy_bool_t nhproxy_xdr_init_nhwindow_req
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_init_nhwindow_req *datum);

struct      nhproxy_init_nhwindow_res;
nhproxy_bool_t nhproxy_xdr_init_nhwindow_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_init_nhwindow_res *datum);

struct      nhproxy_mi;
nhproxy_bool_t nhproxy_xdr_proxy_mi         (NhProxyXdr *xdrs,
                                             struct nhproxy_mi *datum);

struct      nhproxy_select_menu_res;
nhproxy_bool_t nhproxy_xdr_select_menu_res  (NhProxyXdr *xdrs,
                                             struct nhproxy_select_menu_res *datum);

struct      nhproxy_status_req;
nhproxy_bool_t nhproxy_xdr_status_req       (NhProxyXdr *xdrs,
                                             struct nhproxy_status_req *datum);

struct      nhproxy_glyph_row;
nhproxy_bool_t nhproxy_xdr_glyph_row        (NhProxyXdr *xdr,
                                             struct nhproxy_glyph_row *datum);
struct      nhproxy_glyph_layer;
nhproxy_bool_t nhproxy_xdr_glyph_layer      (NhProxyXdr *xdr,
                                             struct nhproxy_glyph_layer *datum);
struct      nhproxy_print_glyph_layered_req;
nhproxy_bool_t nhproxy_xdr_print_glyph_layered_req
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_print_glyph_layered_req *datum);

struct      nhproxy_cb_get_player_choices_res_role;
nhproxy_bool_t nhproxy_cb_xdr_get_player_choices_res_role
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_player_choices_res_role *datum);
struct      nhproxy_cb_get_player_choices_res;
nhproxy_bool_t nhproxy_cb_xdr_get_player_choices_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_player_choices_res *datum);

struct      nhproxy_cb_get_valid_selections_res;
nhproxy_bool_t nhproxy_cb_xdr_get_valid_selections_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_valid_selections_res *datum);

struct      nhproxy_cb_get_extended_commands_res;
nhproxy_bool_t nhproxy_cb_xdr_get_extended_commands_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_extended_commands_res *datum);

struct      nhproxy_cb_get_tilesets_res_tileset;
nhproxy_bool_t nhproxy_cb_xdr_get_tilesets_res_tileset
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_tilesets_res_tileset *datum);
struct      nhproxy_cb_get_tilesets_res;
nhproxy_bool_t nhproxy_cb_xdr_get_tilesets_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_tilesets_res *datum);

struct      nhproxy_cb_get_glyph_mapping_res_symdef;
nhproxy_bool_t nhproxy_cb_xdr_get_glyph_mapping_res_symdef
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_glyph_mapping_res_symdef *datum);
struct      nhproxy_cb_get_glyph_mapping_res_submapping;
nhproxy_bool_t nhproxy_cb_xdr_get_glyph_mapping_res_submapping
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_glyph_mapping_res_submapping *datum);
struct      nhproxy_cb_get_glyph_mapping_res_mapping;
nhproxy_bool_t nhproxy_cb_xdr_get_glyph_mapping_res_mapping
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_glyph_mapping_res_mapping *datum);
struct      nhproxy_cb_get_glyph_mapping_res;
nhproxy_bool_t nhproxy_cb_xdr_get_glyph_mapping_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_glyph_mapping_res *datum);

struct      nhproxy_cb_get_extensions_res_extension;
nhproxy_bool_t nhproxy_cb_xdr_get_extensions_res_extension
                                            (NhProxyXdr *xdr,
                                             struct nhproxy_cb_get_extensions_res_extension *datum);
struct      nhproxy_cb_get_extensions_res;
nhproxy_bool_t nhproxy_cb_xdr_get_extensions_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_extensions_res *datum);

Description

Details

struct nhproxy_cb_subprot2_init

struct nhproxy_cb_subprot2_init {
    int n_masks;
    unsigned long *masks;
};


nhproxy_cb_xdr_subprot2_init ()

nhproxy_bool_t nhproxy_cb_xdr_subprot2_init (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_subprot2_init *datum);

xdrs :
datum :
Returns :

struct nhproxy_init_nhwindow_req

struct nhproxy_init_nhwindow_req {
    int argc;
    char **argv;
};


nhproxy_xdr_init_nhwindow_req ()

nhproxy_bool_t nhproxy_xdr_init_nhwindow_req
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_init_nhwindow_req *datum);

xdrs :
datum :
Returns :

struct nhproxy_init_nhwindow_res

struct nhproxy_init_nhwindow_res {
    nhproxy_bool_t inited;
    int argc;
    char **argv;
    int capc;
    char **capv;
};


nhproxy_xdr_init_nhwindow_res ()

nhproxy_bool_t nhproxy_xdr_init_nhwindow_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_init_nhwindow_res *datum);

xdrs :
datum :
Returns :

struct nhproxy_mi

struct nhproxy_mi {
    int item;			/* identifier */
    long count;			/* count */
};


nhproxy_xdr_proxy_mi ()

nhproxy_bool_t nhproxy_xdr_proxy_mi         (NhProxyXdr *xdrs,
                                             struct nhproxy_mi *datum);

xdrs :
datum :
Returns :

struct nhproxy_select_menu_res

struct nhproxy_select_menu_res {
    int retval;
    int n;
    struct nhproxy_mi *selected;
};


nhproxy_xdr_select_menu_res ()

nhproxy_bool_t nhproxy_xdr_select_menu_res  (NhProxyXdr *xdrs,
                                             struct nhproxy_select_menu_res *datum);

xdrs :
datum :
Returns :

struct nhproxy_status_req

struct nhproxy_status_req {
    int reconfig;
    int nv;
    const char **values;
};


nhproxy_xdr_status_req ()

nhproxy_bool_t nhproxy_xdr_status_req       (NhProxyXdr *xdrs,
                                             struct nhproxy_status_req *datum);

xdrs :
datum :
Returns :

struct nhproxy_glyph_row

struct nhproxy_glyph_row {
    int start;
    int ng;
    int *glyphs;
};


nhproxy_xdr_glyph_row ()

nhproxy_bool_t nhproxy_xdr_glyph_row        (NhProxyXdr *xdr,
                                             struct nhproxy_glyph_row *datum);

xdr :
datum :
Returns :

struct nhproxy_glyph_layer

struct nhproxy_glyph_layer {
    int start;
    int nr;
    struct nhproxy_glyph_row *rows;
};


nhproxy_xdr_glyph_layer ()

nhproxy_bool_t nhproxy_xdr_glyph_layer      (NhProxyXdr *xdr,
                                             struct nhproxy_glyph_layer *datum);

xdr :
datum :
Returns :

struct nhproxy_print_glyph_layered_req

struct nhproxy_print_glyph_layered_req {
    int window;
    int nl;
    struct nhproxy_glyph_layer *layers;
};


nhproxy_xdr_print_glyph_layered_req ()

nhproxy_bool_t nhproxy_xdr_print_glyph_layered_req
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_print_glyph_layered_req *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_player_choices_res_role

struct nhproxy_cb_get_player_choices_res_role {
    const char *male;
    const char *female;
};


nhproxy_cb_xdr_get_player_choices_res_role ()

nhproxy_bool_t nhproxy_cb_xdr_get_player_choices_res_role
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_player_choices_res_role *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_player_choices_res

struct nhproxy_cb_get_player_choices_res {
    int n_aligns;
    const char **aligns;
    int n_genders;
    const char **genders;
    int n_races;
    const char **races;
    int n_roles;
    struct nhproxy_cb_get_player_choices_res_role *roles;
};


nhproxy_cb_xdr_get_player_choices_res ()

nhproxy_bool_t nhproxy_cb_xdr_get_player_choices_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_player_choices_res *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_valid_selections_res

struct nhproxy_cb_get_valid_selections_res {
    int no_roles;
    int no_races;
    int no_aligns;
    int no_genders;
    int n_masks;
    unsigned long *masks;
};


nhproxy_cb_xdr_get_valid_selections_res ()

nhproxy_bool_t nhproxy_cb_xdr_get_valid_selections_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_valid_selections_res *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_extended_commands_res

struct nhproxy_cb_get_extended_commands_res {
    int n_commands;
    const char **commands;
};


nhproxy_cb_xdr_get_extended_commands_res ()

nhproxy_bool_t nhproxy_cb_xdr_get_extended_commands_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_extended_commands_res *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_tilesets_res_tileset

struct nhproxy_cb_get_tilesets_res_tileset {
    const char *name;
    const char *file;
    const char *mapfile;
    unsigned long flags;
};


nhproxy_cb_xdr_get_tilesets_res_tileset ()

nhproxy_bool_t nhproxy_cb_xdr_get_tilesets_res_tileset
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_tilesets_res_tileset *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_tilesets_res

struct nhproxy_cb_get_tilesets_res {
    int n_tilesets;
    struct nhproxy_cb_get_tilesets_res_tileset *tilesets;
};


nhproxy_cb_xdr_get_tilesets_res ()

nhproxy_bool_t nhproxy_cb_xdr_get_tilesets_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_tilesets_res *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_glyph_mapping_res_symdef

struct nhproxy_cb_get_glyph_mapping_res_symdef {
    long rgbsym;
    const char *description;
};


nhproxy_cb_xdr_get_glyph_mapping_res_symdef ()

nhproxy_bool_t nhproxy_cb_xdr_get_glyph_mapping_res_symdef
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_glyph_mapping_res_symdef *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_glyph_mapping_res_submapping

struct nhproxy_cb_get_glyph_mapping_res_submapping {
    struct nhproxy_cb_get_glyph_mapping_res_symdef symdef;
    int n_glyphs;
    struct nhproxy_cb_get_glyph_mapping_res_symdef *glyphs;
};


nhproxy_cb_xdr_get_glyph_mapping_res_submapping ()

nhproxy_bool_t nhproxy_cb_xdr_get_glyph_mapping_res_submapping
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_glyph_mapping_res_submapping *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_glyph_mapping_res_mapping

struct nhproxy_cb_get_glyph_mapping_res_mapping {
    const char *flags;
    int base_mapping;
    int alt_glyph;
    struct nhproxy_cb_get_glyph_mapping_res_symdef symdef;
    int n_submappings;
    struct nhproxy_cb_get_glyph_mapping_res_submapping *submappings;
};


nhproxy_cb_xdr_get_glyph_mapping_res_mapping ()

nhproxy_bool_t nhproxy_cb_xdr_get_glyph_mapping_res_mapping
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_glyph_mapping_res_mapping *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_glyph_mapping_res

struct nhproxy_cb_get_glyph_mapping_res {
    int no_glyph;
    long transparent;
    int n_mappings;
    struct nhproxy_cb_get_glyph_mapping_res_mapping *mappings;
};


nhproxy_cb_xdr_get_glyph_mapping_res ()

nhproxy_bool_t nhproxy_cb_xdr_get_glyph_mapping_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_glyph_mapping_res *datum);

xdrs :
datum :
Returns :

struct nhproxy_cb_get_extensions_res_extension

struct nhproxy_cb_get_extensions_res_extension {
    const char *name;
    const char *version;
    int no_procedures;
};


nhproxy_cb_xdr_get_extensions_res_extension ()

nhproxy_bool_t nhproxy_cb_xdr_get_extensions_res_extension
                                            (NhProxyXdr *xdr,
                                             struct nhproxy_cb_get_extensions_res_extension *datum);

xdr :
datum :
Returns :

struct nhproxy_cb_get_extensions_res

struct nhproxy_cb_get_extensions_res {
    int n_extensions;
    struct nhproxy_cb_get_extensions_res_extension *extensions;
};


nhproxy_cb_xdr_get_extensions_res ()

nhproxy_bool_t nhproxy_cb_xdr_get_extensions_res
                                            (NhProxyXdr *xdrs,
                                             struct nhproxy_cb_get_extensions_res *datum);

xdrs :
datum :
Returns :