I love the people that record things with horrible audio like that and youtube 
them. :)


Thanks,
Tyler Littlefield
Web: tysdomain.com
email: [email protected]
My programs don't have bugs, they're called randomly added features.

  ----- Original Message ----- 
  From: Thomas Hruska 
  To: [email protected] 
  Sent: Wednesday, March 18, 2009 7:52 AM
  Subject: Re: [c-prog] strange structure assignment !!!!


  Ahmed Shabana wrote:
  > When I navigate the source code of a linux module "ipp2p-0.8.2"
  > 
  > I found this
  > 
  > [/CODE]
  > static
  > struct iptables_match ipp2p=
  > {
  > .next = NULL,
  > .name = "ipp2p",
  > .version = IPTABLES_VERSION,
  > .size = IPT_ALIGN(sizeof(struct ipt_p2p_info)),
  > .userspacesize = IPT_ALIGN(sizeof(struct ipt_p2p_info)),
  > .help = &help,
  > .init = &init,
  > .parse = &parse,
  > .final_check = &final_check,
  > .print = &print,
  > .save = &save,
  > .extra_opts = opts
  > };
  > [CODE/]
  > 
  > can any one till me exactly what is this
  > ?

  A static instance of the 'iptables_match' structure. The '.membername' 
  stuff is a C99 feature known as 'designated initializers'.

  
http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=/com.ibm.xlcpp8a.doc/language/ref/designators.htm

  Appears to be one area where C++ is lagging behind C. I've never used 
  them but it seems useful.

  http://www.youtube.com/watch?v=ajlESsRXqmM

  That, unfortunately, ISN'T useful.

  -- 
  Thomas Hruska
  CubicleSoft President
  Ph: 517-803-4197

  *NEW* MyTaskFocus 1.1
  Get on task. Stay on task.

  http://www.CubicleSoft.com/MyTaskFocus/



  

[Non-text portions of this message have been removed]

Reply via email to