package opasswd

  1. Overview
  2. Docs

Module OPasswd.PasswdSource

Sourceval passwd_file : string
Sourcetype t = {
  1. name : string;
  2. passwd : string;
  3. uid : int;
  4. gid : int;
  5. gecos : string;
  6. dir : string;
  7. shell : string;
}
Sourceval to_string : t -> string
Sourcetype db = t list
Sourceval db_to_string : db -> string
Sourcetype file_descr
Sourceval file_descr : file_descr Ctypes.typ
Sourceval fopen : string -> string -> file_descr
Sourceval fclose : file_descr -> unit
Sourceval getpwnam : string -> t option
Sourceval getpwuid : int -> t option
Sourceval getpwent : unit -> t option
Sourceval setpwent : unit -> unit
Sourceval endpwent : unit -> unit
Sourceval putpwent : file_descr -> t -> unit
Sourceval get_db : unit -> db
Sourceval update_db : db -> t -> db
Sourceval write_db : ?file:string -> db -> unit
OCaml

Innovation. Community. Security.