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

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

## import(xml2)

## exportPattern("^[[:alpha:]]+")

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

S3method("toRd", bibentryExtra)


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