useDynLib(rbibutils, .registration=TRUE, .fixes = "C_")

importFrom("utils", "person", "bibentry", "toBibtex")
importFrom(tools, file_ext, toRd, bibstyle, getBibstyle)

S3method(print, bibentryExtra)
S3method(format, bibentryExtra)
S3method("[", bibentryExtra)
S3method("[[", bibentryExtra)
S3method("$<-", bibentryExtra)
S3method("[[<-", bibentryExtra)
S3method(c, bibentryExtra)
S3method(names, bibentryExtra)

S3method(toRd, bibentryExtra)

S3method(as.bibentryExtra, bibentry)

export(
    bibConvert,
    readBib,
    writeBib,
    readBibentry,
    writeBibentry,
    charToBib,
    rbibutils_formats,
    register_JSSextra,
    bibentryExtra,
    as.bibentryExtra
)
