Example #1
0
bool sqlapi_bndstmtfread( FILE *bndfile, SqlApiBindStmt &bndstmt) {
  Packer p;
  if(!p.read(ByteInputFile(bndfile))) {
    return false;
  }
  p >> bndstmt;
  return true;
}
Example #2
0
bool sqlapi_bndprogramidfread(FILE *bndfile, SqlApiBindProgramId &programid) {
  Packer p;
  if(!p.read(ByteInputFile(bndfile))) {
    return false;
  }
  p >> programid;
  return true;
}