org-agenda-files

org-agenda-files is a compiled Lisp function in `org.el'.

(org-agenda-files &optional UNRESTRICTED ARCHIVES)

Get the list of agenda files.
Optional UNRESTRICTED means return the full list even if a restriction
is currently in place.
When ARCHIVES is t, include all archive files that are really being
used by the agenda files. If ARCHIVE is `ifmode', do this only if
`org-agenda-archives-mode' is t.