Sha256: 7875179e561e2c991aecbda187e900bd930b50ba9a251ba04da5ff5704362b0f

Contents?: true

Size: 1.14 KB

Versions: 16

Compression:

Stored size: 1.14 KB

Contents

/*
 * Copyright (C) 2008-2012 NEC Corporation
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License, version 2, as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */


#ifndef TREMA_RUBY_UTILS_H
#define TREMA_RUBY_UTILS_H


#include "ruby.h"
#include "trema.h"


void set_xid( const buffer *openflow_message, uint32_t xid );
VALUE get_xid( VALUE self );
void set_length( const buffer *openflow_message, uint16_t length );
uint16_t get_length( const buffer *openflow_message );
void validate_xid( VALUE xid );


#endif // TREMA_RUBY_UTILS_H


/*
 * Local variables:
 * c-basic-offset: 2
 * indent-tabs-mode: nil
 * End:
 */

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trema-0.3.9 ruby/trema/trema-ruby-utils.h
trema-0.3.8 ruby/trema/trema-ruby-utils.h
trema-0.3.7 ruby/trema/trema-ruby-utils.h
trema-0.3.6 ruby/trema/trema-ruby-utils.h
trema-0.3.5 ruby/trema/trema-ruby-utils.h
trema-0.3.4 ruby/trema/trema-ruby-utils.h
trema-0.3.3 ruby/trema/trema-ruby-utils.h
trema-0.3.2 ruby/trema/trema-ruby-utils.h
trema-0.3.1 ruby/trema/trema-ruby-utils.h
trema-0.3.0 ruby/trema/trema-ruby-utils.h
trema-0.2.8 ruby/trema/trema-ruby-utils.h
trema-0.2.7 ruby/trema/trema-ruby-utils.h
trema-0.2.6 ruby/trema/trema-ruby-utils.h
trema-0.2.5 ruby/trema/trema-ruby-utils.h
trema-0.2.4 ruby/trema/trema-ruby-utils.h
trema-0.2.3 ruby/trema/trema-ruby-utils.h