// This library is part of PLINK 2.00, copyright (C) 2005-2021 Shaun Purcell,
// Christopher Chang.
//
// This library 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
// Free Software Foundation; either version 3 of the License, or (at your
// option) any later version.
//
// This library 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 Lesser General Public License
// for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this library.  If not, see <http://www.gnu.org/licenses/>.


#include "pgenlib_write.h"

#ifdef __cplusplus
namespace plink2 {
#endif

void PreinitBitmapReader(BitmapReader* brp) {
  brp->ff = nullptr;
}

void PreinitBitmapWriter(BitmapWriter* bwp) {
  brp->ff = nullptr;
}

PglErr BitmapReaderInitPhase1(const char* fname, BitmapReader* brp, uintptr_t* br_alloc_cacheline_ct_ptr, char* errstr_buf) {
  // TODO
  return kPglRetNotYetSupported;
}

BoolErr CleanupBitmapReader(BitmapReader* brp, PglErr* reterrp) {
  return 1;
}

BoolErr CleanupBitmapWriter(BitmapReader* bwp, PglErr* reterrp) {
  return 1;
}

#ifdef __cplusplus
}  // namespace plink2
#endif
