linterpentry.cpp   linterpentry.cpp 
// (C) 2008, 2010 D. V. Wiebe // Copyright (C) 2008, 2010 D. V. Wiebe
// //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// //
// This file is part of the GetData project. // This file is part of the GetData project.
// //
// GetData is free software; you can redistribute it and/or modify it under // GetData is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License as published by the // the terms of the GNU Lesser General Public License as published by the
// Free Software Foundation; either version 2.1 of the License, or (at your // Free Software Foundation; either version 2.1 of the License, or (at your
// option) any later version. // option) any later version.
// //
skipping to change at line 33 skipping to change at line 33
#endif #endif
#undef GETDATA_LEGACY_API #undef GETDATA_LEGACY_API
#include "getdata/dirfile.h" #include "getdata/dirfile.h"
#include <stdlib.h> #include <stdlib.h>
#include <cstring> #include <cstring>
using namespace GetData; using namespace GetData;
LinterpEntry::LinterpEntry(const char* field_code, const char* in_field, LinterpEntry::LinterpEntry(const char* field_code, const char* in_field,
const char* table, int fragment_index) : Entry::Entry() const char* table, int fragment_index) : Entry()
{ {
E.field = strdup(field_code); E.field = strdup(field_code);
E.field_type = GD_LINTERP_ENTRY; E.field_type = GD_LINTERP_ENTRY;
E.in_fields[0] = strdup(in_field); E.in_fields[0] = strdup(in_field);
E.u.linterp.table = strdup(table); E.u.linterp.table = strdup(table);
E.fragment_index = fragment_index; E.fragment_index = fragment_index;
} }
int LinterpEntry::SetInput(const char* field) int LinterpEntry::SetInput(const char* field)
{ {
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/