RADIUS :: Dictionary.

¹Ý°æ »çÀü Æļ­
Áö±Ý ´Ù¿î·Îµå

RADIUS :: Dictionary. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Christopher Masto
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~chrmasto/RADIUS-1.0/RADIUS/Dictionary.pm

RADIUS :: Dictionary. ű×


RADIUS :: Dictionary. ¼³¸í

¹Ý°æ »çÀü Æļ­ RADIUS :: Dictionary´Â ¹ÝÁö¸§ »çÀü Æļ­ÀÔ´Ï´Ù. Synopsis »ç¿ë ¹Ý°æ :: »çÀü; MY $ DICT = »õ·Î¿î RADIUS :: »çÀü "/ etc / radius / »çÀü"; $ dict-> readdict ( "/ ÀϺΠ/ ´Ù¸¥ / ÆÄÀÏ"); ³» $ num = $ dict-> attr_num ( 'user-name'); ³» $ name = $ dict-> attr_name (1); ÀÌ°ÍÀº ¹Ý°æ »çÀü ÆÄÀÏÀ» ÀÐ°í ±¸¹® ºÐ¼®ÇÏ¿© »çÀü À̸§°ú ¼ýÀÚ °£ÀÇ º¯È¯À» Çã¿ëÇÏ´Â °£´ÜÇÑ ¸ðµâÀÔ´Ï´Ù. (¼±Åà »çÇ×) ÆÄÀÏ À̸§ÀÌ ÁÖ¾îÁö¸é readdict¸¦ È£ÃâÇÕ´Ï´Ù .-> readdictparses »çÀü ÆÄÀÏÀ» ¹è¿ì°í NameNumber ¸ÅÇÎ ($ attrname) ¸í¸í µÈ ¼Ó¼ºÀÇ ¼ö¸¦ ¸®ÅÏÇÕ´Ï´Ù .-> attro_type ($ attrname)À» ¹ÝȯÇÕ´Ï´Ù. À̸§ÀÌ ÁöÁ¤µÈ ¼Ó¼ºÀÇ (¹®ÀÚ¿­, Á¤¼ö, iPaddr ¶Ç´Â ½Ã°£) .-> attr_name ($ attrnum) ÁÖ¾îÁø ¼ýÀÚ°¡ÀÖ´Â ¼Ó¼ºÀÇ À̸§À» ¹ÝȯÇÕ´Ï´Ù .-> attr_numtype ($ attrnum)Àº ÁÖ¾îÁø ¼Ó¼ºÀÇ À¯ÇüÀ» ¹ÝȯÇÕ´Ï´Ù. ¹øÈ£ .-> attr_has_val ($ attrnum) numbered ¼Ó¼ºÀÇ °ªÀÌ ÀÖ´ÂÁö ¿©ºÎ¿¡ µû¶ó true ¶Ç´Â false °ªÀ» ¸®ÅÏÇÕ´Ï´Ù .-> val_has_name ($ attrnum) attr_has_valÀÇ ´ëü (³ª»Û) À̸§ .-> val_num ($ attrnum, $ valname) ¼Ó¼º ¹øÈ£¿¡ ´ëÇÑ ¸í¸í µÈ °ªÀÇ ¼ö¸¦ µ¹·ÁÁÝ´Ï´Ù .-> val_namereturns Á¦°øµÈ ¼Ó¼º ¹øÈ£¿¡ ´ëÇÑ ¹øÈ£°¡ ¸Å°ÜÁø °ªÀÇ À̸§ÀÔ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


RADIUS :: Dictionary. °ü·Ã ¼ÒÇÁÆ®¿þ¾î