Changeset 5754:b23d79c13370 in roaraudio for include


Ignore:
Timestamp:
11/16/12 16:49:56 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

avoid getenv() and use more portable roar_env_get(). Also improved security as we enfore const now on bufferes obtained from the env.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/pinentry.h

    r5381 r5754  
    4949}; 
    5050 
    51 int roar_pinentry_open (struct roar_pinentry * pe, int flags, char * display, char * tty, char * term); 
     51int roar_pinentry_open (struct roar_pinentry * pe, int flags, const char * display, const char * tty, const char * term); 
    5252int roar_pinentry_simple_open(struct roar_pinentry * pe); 
    5353int roar_pinentry_close(struct roar_pinentry * pe); 
Note: See TracChangeset for help on using the changeset viewer.