• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/apps/

Lines Matching defs:dbfile

1681 CA_DB *load_index(char *dbfile, DB_ATTR *db_attr)
1695 if (BIO_read_filename(in,dbfile) <= 0)
1697 perror(dbfile);
1698 BIO_printf(bio_err,"unable to open '%s'\n",dbfile);
1708 BIO_snprintf(buf[0], sizeof buf[0], "%s.attr", dbfile);
1710 BIO_snprintf(buf[0], sizeof buf[0], "%s-attr", dbfile);
1787 int save_index(const char *dbfile, const char *suffix, CA_DB *db)
1799 j = strlen(dbfile) + strlen(suffix);
1807 j = BIO_snprintf(buf[2], sizeof buf[2], "%s.attr", dbfile);
1809 j = BIO_snprintf(buf[2], sizeof buf[2], "%s-attr", dbfile);
1812 j = BIO_snprintf(buf[1], sizeof buf[1], "%s.attr.%s", dbfile, suffix);
1814 j = BIO_snprintf(buf[1], sizeof buf[1], "%s-attr-%s", dbfile, suffix);
1817 j = BIO_snprintf(buf[0], sizeof buf[0], "%s.%s", dbfile, suffix);
1819 j = BIO_snprintf(buf[0], sizeof buf[0], "%s-%s", dbfile, suffix);
1826 perror(dbfile);
1827 BIO_printf(bio_err,"unable to open '%s'\n", dbfile);
1854 int rotate_index(const char *dbfile, const char *new_suffix, const char *old_suffix)
1860 i = strlen(dbfile) + strlen(old_suffix);
1861 j = strlen(dbfile) + strlen(new_suffix);
1870 j = BIO_snprintf(buf[4], sizeof buf[4], "%s.attr", dbfile);
1872 j = BIO_snprintf(buf[4], sizeof buf[4], "%s-attr", dbfile);
1876 dbfile, new_suffix);
1879 dbfile, new_suffix);
1883 dbfile, new_suffix);
1886 dbfile, new_suffix);
1890 dbfile, old_suffix);
1893 dbfile, old_suffix);
1897 dbfile, old_suffix);
1900 dbfile, old_suffix);
1902 if (stat(dbfile,&sb) < 0)
1915 dbfile, buf[1]);
1917 if (rename(dbfile,buf[1]) < 0)
1921 dbfile, buf[1]);
1928 buf[0],dbfile);
1930 if (rename(buf[0],dbfile) < 0)
1934 buf[0],dbfile);
1936 rename(buf[1],dbfile);
1960 rename(dbfile,buf[0]);
1961 rename(buf[1],dbfile);
1976 rename(dbfile,buf[0]);
1977 rename(buf[1],dbfile);