rpm  5.2.1
About: RPM is a powerful and mature command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating Unix software packages ("no longer Linux-centric"). Hint: The RPM homepage may offer newer releases (but in rpm format).
  Fossies Dox: rpm-5.2.1.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

defines.h File Reference
#include "shadow_.h"
#include <sys/ioctl.h>
#include <termio.h>
#include "snprintf.h"
Include dependency graph for defines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ISDIGIT_LOCALE(c)   (IN_CTYPE_DOMAIN (c) && isdigit (c))
 
#define gettext_noop(String)   (String)
 
#define strchr   index
 
#define strrchr   rindex
 
#define memcpy(d, s, n)   bcopy((s), (d), (n))
 
#define WEXITSTATUS(stat_val)   ((unsigned)(stat_val) >> 8)
 
#define WIFEXITED(stat_val)   (((stat_val) & 255) == 0)
 
#define memzero(ptr, size)   bzero((char *)(ptr), (size))
 
#define strzero(s)   memzero(s, strlen(s)) /* warning: evaluates twice */
 
#define DIRECT   direct
 
#define NGROUPS_MAX   64
 
#define SYSLOG(x)   /* empty */
 
#define openlog(a, b, c)   /* empty */
 
#define closelog()   /* empty */
 
#define SYSLOG_OPTIONS   (LOG_PID)
 
#define SYSLOG_FACILITY   LOG_AUTHPRIV
 
#define OPENLOG(progname)   openlog(progname, SYSLOG_OPTIONS, SYSLOG_FACILITY)
 
#define S_ISLNK(x)   (0)
 
#define LCHOWN   chown
 
#define LSTAT   stat
 
#define STTY(fd, termio)   ioctl(fd, TCSETA, termio)
 
#define GTTY(fd, termio)   ioctl(fd, TCGETA, termio)
 
#define TEMRIO   struct termio
 
#define USE_TERMIO
 
#define DAY   (24L*3600L)
 
#define WEEK   (7*DAY)
 
#define SCALE   DAY
 
#define STRFCPY(A, B)   (strncpy((A), (B), sizeof(A) - 1), (A)[sizeof(A) - 1] = '\0')
 
#define SETXXENT_TYPE   int
 
#define SETXXENT_RET(x)   return(x)
 
#define SETXXENT_TEST(x)   if (x)
 
#define PASSWD_FILE   "/etc/passwd"
 
#define GROUP_FILE   "/etc/group"
 
#define SHADOW_FILE   "/etc/shadow"
 
#define PASSWD_PAG_FILE   PASSWD_FILE ".pag"
 
#define GROUP_PAG_FILE   GROUP_FILE ".pag"
 
#define SHADOW_PAG_FILE   SHADOW_FILE ".pag"
 
#define SGROUP_PAG_FILE   SGROUP_FILE ".pag"
 
#define NULL   ((void *) 0)
 
#define SHADOW_PASSWD_STRING   "x"
 

Functions

char * index ()
 
char * rindex ()
 
char * strtok ()
 

Macro Definition Documentation

◆ closelog

#define closelog ( )    /* empty */

Definition at line 127 of file defines.h.

◆ DAY

#define DAY   (24L*3600L)

Definition at line 194 of file defines.h.

◆ DIRECT

#define DIRECT   direct

Definition at line 52 of file defines.h.

◆ gettext_noop

#define gettext_noop (   String)    (String)

Definition at line 15 of file defines.h.

◆ GROUP_FILE

#define GROUP_FILE   "/etc/group"

Definition at line 231 of file defines.h.

◆ GROUP_PAG_FILE

#define GROUP_PAG_FILE   GROUP_FILE ".pag"

Definition at line 245 of file defines.h.

◆ GTTY

#define GTTY (   fd,
  termio 
)    ioctl(fd, TCGETA, termio)

Definition at line 179 of file defines.h.

◆ ISDIGIT_LOCALE

#define ISDIGIT_LOCALE (   c)    (IN_CTYPE_DOMAIN (c) && isdigit (c))

Definition at line 13 of file defines.h.

◆ LCHOWN

#define LCHOWN   chown

Definition at line 160 of file defines.h.

◆ LSTAT

#define LSTAT   stat

Definition at line 166 of file defines.h.

◆ memcpy

#define memcpy (   d,
  s,
  n 
)    bcopy((s), (d), (n))

Definition at line 27 of file defines.h.

◆ memzero

#define memzero (   ptr,
  size 
)    bzero((char *)(ptr), (size))

Definition at line 45 of file defines.h.

◆ NGROUPS_MAX

#define NGROUPS_MAX   64

Definition at line 77 of file defines.h.

◆ NULL

#define NULL   ((void *) 0)

Definition at line 250 of file defines.h.

◆ openlog

#define openlog (   a,
  b,
  c 
)    /* empty */

Definition at line 126 of file defines.h.

◆ OPENLOG

#define OPENLOG (   progname)    openlog(progname, SYSLOG_OPTIONS, SYSLOG_FACILITY)

Definition at line 143 of file defines.h.

◆ PASSWD_FILE

#define PASSWD_FILE   "/etc/passwd"

Definition at line 227 of file defines.h.

◆ PASSWD_PAG_FILE

#define PASSWD_PAG_FILE   PASSWD_FILE ".pag"

Definition at line 244 of file defines.h.

◆ S_ISLNK

#define S_ISLNK (   x)    (0)

Definition at line 154 of file defines.h.

◆ SCALE

#define SCALE   DAY

Definition at line 202 of file defines.h.

◆ SETXXENT_RET

#define SETXXENT_RET (   x)    return(x)

Definition at line 222 of file defines.h.

◆ SETXXENT_TEST

#define SETXXENT_TEST (   x)    if (x)

Definition at line 223 of file defines.h.

◆ SETXXENT_TYPE

#define SETXXENT_TYPE   int

Definition at line 221 of file defines.h.

◆ SGROUP_PAG_FILE

#define SGROUP_PAG_FILE   SGROUP_FILE ".pag"

Definition at line 247 of file defines.h.

◆ SHADOW_FILE

#define SHADOW_FILE   "/etc/shadow"

Definition at line 235 of file defines.h.

◆ SHADOW_PAG_FILE

#define SHADOW_PAG_FILE   SHADOW_FILE ".pag"

Definition at line 246 of file defines.h.

◆ SHADOW_PASSWD_STRING

#define SHADOW_PASSWD_STRING   "x"

Definition at line 271 of file defines.h.

◆ strchr

#define strchr   index

Definition at line 21 of file defines.h.

◆ STRFCPY

#define STRFCPY (   A,
  B 
)    (strncpy((A), (B), sizeof(A) - 1), (A)[sizeof(A) - 1] = '\0')

Definition at line 210 of file defines.h.

◆ strrchr

#define strrchr   rindex

Definition at line 22 of file defines.h.

◆ strzero

#define strzero (   s)    memzero(s, strlen(s)) /* warning: evaluates twice */

Definition at line 47 of file defines.h.

◆ STTY

#define STTY (   fd,
  termio 
)    ioctl(fd, TCSETA, termio)

Definition at line 178 of file defines.h.

◆ SYSLOG

#define SYSLOG (   x)    /* empty */

Definition at line 125 of file defines.h.

◆ SYSLOG_FACILITY

#define SYSLOG_FACILITY   LOG_AUTHPRIV

Definition at line 140 of file defines.h.

◆ SYSLOG_OPTIONS

#define SYSLOG_OPTIONS   (LOG_PID)

Definition at line 136 of file defines.h.

◆ TEMRIO

#define TEMRIO   struct termio

Definition at line 180 of file defines.h.

◆ USE_TERMIO

#define USE_TERMIO

Definition at line 181 of file defines.h.

◆ WEEK

#define WEEK   (7*DAY)

Definition at line 197 of file defines.h.

◆ WEXITSTATUS

#define WEXITSTATUS (   stat_val)    ((unsigned)(stat_val) >> 8)

Definition at line 36 of file defines.h.

◆ WIFEXITED

#define WIFEXITED (   stat_val)    (((stat_val) & 255) == 0)

Definition at line 39 of file defines.h.

Function Documentation

◆ index()

char* index ( )

Referenced by access_java_array_element(), addReqProv(), AddSpanDep(), addTriggerIndex(), AllocSrcNote(), array_join_sub(), array_length_setter(), array_pop(), BigIndexToId(), BindNameToSlot(), block_getProperty(), block_setProperty(), DeleteArrayElement(), DeleteByIndex(), DeleteListElement(), DeleteNamedProperty(), EmitBigIndexPrefix(), EmitDestructuringOpsHelper(), EmitFunctionDefNop(), EmitGoto(), EmitIndexOp(), EmitSlotIndexOp(), find_empty_slot_for_expand(), find_split(), GetArrayElement(), GetCompactIndexWidth(), GetGCThingFlags(), GetGCThingFlagsOrNull(), GetProperty(), GetSpanDep(), handleOneTrigger(), HashLocalName(), htab_find_slot_with_hash(), htab_find_with_hash(), IndexToIdVal(), IndexToValue(), IsMarkedDouble(), JavaArray_newEnumerate(), js_AddToSrcNoteDelta(), JS_AlreadyHasOwnElement(), JS_CallTracer(), js_CheckForStringIndex(), JS_DefineElement(), JS_DeleteElement(), JS_DeleteElement2(), js_EmitTree(), js_GC(), JS_GetElement(), js_GetGCThingTraceKind(), JS_GetReservedSlot(), js_GetUnitString(), JS_HasElement(), js_IdIsIndex(), js_IndexToId(), js_Interpret(), js_IsAboutToBeFinalized(), JS_LookupElement(), JS_NewPropertyIterator(), js_NewSrcNote(), js_NewSrcNote2(), js_NewSrcNote3(), js_ReportCompileErrorNumber(), JS_SetElement(), JS_SetReservedSlot(), js_SetSrcNoteOffset(), jsj_GetJavaArrayElement(), jsj_SetJavaArrayElement(), KidToString(), match_or_replace(), MemberExpr(), NormalizingDelete(), parseRCPOT(), parseScript(), parseSpec(), PrimaryExpr(), processHexOID(), PushValue(), PutProperty(), RefillDoubleFreeList(), ReservedSlotIndexOK(), rpmtdSetIndex(), DbEnv::runtime_error_lock_get(), SetArrayElement(), SetOrDeleteArrayElement(), SimpleMatch(), slowarray_addProperty(), str_indexOf(), stringify(), throw_any_pending_js_error_as_a_java_exception(), ToXMLName(), try_convert_to_jsint(), Walk(), WriteCompactIndex(), xar_signature_get_x509certificate_data(), xml_child_helper(), xml_deleteProperty(), xml_enumerate(), xml_enumerateValues(), xml_propertyIsEnumerable(), xml_replace(), XMLArrayAddMember(), XMLArrayCursorTrace(), and XMLArrayDelete().

◆ rindex()

char * rindex ( )

◆ strtok()