Netdude Manual
Prev |  | Next

# nd_protocol_inst

## Name

nd_protocol_inst --

## Synopsis

    LND_ProtoInfo* nd_proto_info_new            (LND_Protocol *proto,
                                                 guint nesting);
    void        nd_proto_info_free              (LND_ProtoInfo *pinf);
    ND_ProtoInfo* nd_proto_info_get             (const LND_ProtoInfo *pinf);
    void        nd_proto_info_field_set_state   (LND_ProtoInfo *pinf,
                                                 ND_ProtoField *field,
                                                 ND_ProtoFieldState state);

## Description

## Details

### nd_proto_info_new ()

    LND_ProtoInfo* nd_proto_info_new            (LND_Protocol *proto,
                                                 guint nesting);

`proto` :

`nesting` :

Returns :

### nd_proto_info_free ()

    void        nd_proto_info_free              (LND_ProtoInfo *pinf);

`pinf` :

### nd_proto_info_get ()

    ND_ProtoInfo* nd_proto_info_get             (const LND_ProtoInfo *pinf);

`pinf` :

Returns :

### nd_proto_info_field_set_state ()

    void        nd_proto_info_field_set_state   (LND_ProtoInfo *pinf,
                                                 ND_ProtoField *field,
                                                 ND_ProtoFieldState state);

This function updates the state of a header field button, including GUI updates.

`pinf` :

  protocol information.

`field` :

  field to update.

`state` :

  new state.

Prev | Home | Next
nd_protocol | Up | nd_protocol_plugin